[GRASS-SVN] r68956 - grass/branches/releasebranch_7_0/scripts/v.centroids
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 14 04:22:49 PDT 2016
Author: martinl
Date: 2016-07-14 04:22:49 -0700 (Thu, 14 Jul 2016)
New Revision: 68956
Modified:
grass/branches/releasebranch_7_0/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_0/scripts/v.centroids/v.centroids.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/v.centroids/v.centroids.py 2016-07-14 11:15:50 UTC (rev 68955)
+++ grass/branches/releasebranch_7_0/scripts/v.centroids/v.centroids.py 2016-07-14 11:22:49 UTC (rev 68956)
@@ -60,7 +60,7 @@
if num_bound == 0:
grass.fatal(_("Input vector map contains no boundaries."))
- grass.exec_command("v.category", type = 'area', **options)
+ grass.run_command("v.category", type = 'area', **options)
sys.exit(0)
More information about the grass-commit
mailing list