[GRASS-SVN] r68954 - grass/trunk/scripts/v.centroids

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 14 04:09:15 PDT 2016


Author: martinl
Date: 2016-07-14 04:09:15 -0700 (Thu, 14 Jul 2016)
New Revision: 68954

Modified:
   grass/trunk/scripts/v.centroids/v.centroids.py
Log:
v.category: fix Windows bug, see http://osgeo-org.1560.x6.nabble.com/problems-running-v-centroids-td5266061.html

Modified: grass/trunk/scripts/v.centroids/v.centroids.py
===================================================================
--- grass/trunk/scripts/v.centroids/v.centroids.py	2016-07-14 08:52:07 UTC (rev 68953)
+++ grass/trunk/scripts/v.centroids/v.centroids.py	2016-07-14 11:09:15 UTC (rev 68954)
@@ -59,7 +59,7 @@
         if num_bound == 0:
             gscript.fatal(_("Input vector map contains no boundaries."))
 
-        gscript.exec_command("v.category", type='area', **options)
+        gscript.run_command("v.category", type='area', **options)
 
     sys.exit(0)
 



More information about the grass-commit mailing list