[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-commit
Subject:    [GRASS-SVN] r63302 - grass/trunk/scripts/v.rast.stats
From:       svn_grass () osgeo ! org
Date:       2014-11-30 21:53:48
Message-ID: 20141130215349.0520F3903E5 () trac ! osgeo ! org
[Download RAW message or body]

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'])

_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic