[GRASS-SVN] r68955 - grass/branches/releasebranch_7_2/scripts/v.centroids
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 14 04:15:50 PDT 2016
Author: martinl
Date: 2016-07-14 04:15:50 -0700 (Thu, 14 Jul 2016)
New Revision: 68955
Modified:
grass/branches/releasebranch_7_2/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/branches/releasebranch_7_2/scripts/v.centroids/v.centroids.py
===================================================================
--- grass/branches/releasebranch_7_2/scripts/v.centroids/v.centroids.py 2016-07-14 11:09:15 UTC (rev 68954)
+++ grass/branches/releasebranch_7_2/scripts/v.centroids/v.centroids.py 2016-07-14 11:15:50 UTC (rev 68955)
@@ -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