[GRASS-SVN] r62708 - grass-addons/grass7/raster/r.basin

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 11 11:45:55 PST 2014


Author: neteler
Date: 2014-11-11 11:45:55 -0800 (Tue, 11 Nov 2014)
New Revision: 62708

Modified:
   grass-addons/grass7/raster/r.basin/r.basin.py
Log:
r.basin: use grass.fatal() for fatal errors

Modified: grass-addons/grass7/raster/r.basin/r.basin.py
===================================================================
--- grass-addons/grass7/raster/r.basin/r.basin.py	2014-11-11 15:43:54 UTC (rev 62707)
+++ grass-addons/grass7/raster/r.basin/r.basin.py	2014-11-11 19:45:55 UTC (rev 62708)
@@ -87,7 +87,7 @@
             found_missing = True
             grass.warning(_("'%s' required. Please install '%s' first using 'g.extension %s'") % (prog, prog, prog))
     if found_missing:
-        grass.error(_("An ERROR occurred running r.basin"))
+        grass.fatal(_("An ERROR occurred running r.basin"))
 
 def main():
     # check dependencies



More information about the grass-commit mailing list