[GRASS-SVN] r68058 - grass-addons/grass7/vector/v.lfp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 15 01:08:06 PDT 2016


Author: hcho
Date: 2016-03-15 01:08:06 -0700 (Tue, 15 Mar 2016)
New Revision: 68058

Modified:
   grass-addons/grass7/vector/v.lfp/v.lfp.py
Log:
v.lfp: Fix v.report reading

Modified: grass-addons/grass7/vector/v.lfp/v.lfp.py
===================================================================
--- grass-addons/grass7/vector/v.lfp/v.lfp.py	2016-03-15 07:59:25 UTC (rev 68057)
+++ grass-addons/grass7/vector/v.lfp/v.lfp.py	2016-03-15 08:08:06 UTC (rev 68058)
@@ -99,7 +99,7 @@
         firstcat = ""
         for line in p.stdout:
             line = line.rstrip("\n")
-            if line == "cat|value|length":
+            if line.startswith("cat|value|"):
                 continue
             cols = line.split("|")
             firstcat = cols[0]



More information about the grass-commit mailing list