[GRASS-SVN] r63302 - grass/trunk/scripts/v.rast.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 30 13:53:48 PST 2014
Author: annakrat
Date: 2014-11-30 13:53:48 -0800 (Sun, 30 Nov 2014)
New Revision: 63302
Modified:
grass/trunk/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: fix errorcode, bug introduced when rewriting scripts to use new python scripting library error handling
Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2014-11-30 14:48:24 UTC (rev 63301)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2014-11-30 21:53:48 UTC (rev 63302)
@@ -284,7 +284,7 @@
f.close()
grass.message(_("Updating the database ..."))
- exitcode = 1
+ exitcode = 0
try:
grass.run_command('db.execute', input=sqltmp,
database=fi['database'], driver=fi['driver'])
More information about the grass-commit
mailing list