[GRASS-SVN] r60360 - grass/trunk/scripts/v.report

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 19 20:35:13 PDT 2014


Author: hcho
Date: 2014-05-19 20:35:13 -0700 (Mon, 19 May 2014)
New Revision: 60360

Modified:
   grass/trunk/scripts/v.report/v.report.py
Log:
v.report: Forgot to uncomment if not colnames

Modified: grass/trunk/scripts/v.report/v.report.py
===================================================================
--- grass/trunk/scripts/v.report/v.report.py	2014-05-20 03:32:42 UTC (rev 60359)
+++ grass/trunk/scripts/v.report/v.report.py	2014-05-20 03:35:13 UTC (rev 60360)
@@ -68,8 +68,8 @@
         grass.fatal(_("Vector map <%s> not found") % mapname)
 
     colnames = grass.vector_columns(mapname, layer, getDict = False, stderr = nuldev)
-#    if not colnames:
-#        colnames = ['cat']
+    if not colnames:
+        colnames = ['cat']
 
     if option == 'coor':
         columns = ['dummy1','dummy2','dummy3']



More information about the grass-commit mailing list