[GRASS-SVN] r68210 - grass-addons/grass7/raster/r.randomforest

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 4 12:26:09 PDT 2016


Author: wenzeslaus
Date: 2016-04-04 12:26:09 -0700 (Mon, 04 Apr 2016)
New Revision: 68210

Modified:
   grass-addons/grass7/raster/r.randomforest/r.randomforest.py
Log:
r.randomforest: use just error and not fatal when exit is called later (fixes r68209)

Modified: grass-addons/grass7/raster/r.randomforest/r.randomforest.py
===================================================================
--- grass-addons/grass7/raster/r.randomforest/r.randomforest.py	2016-04-04 19:12:40 UTC (rev 68209)
+++ grass-addons/grass7/raster/r.randomforest/r.randomforest.py	2016-04-04 19:26:09 UTC (rev 68210)
@@ -150,7 +150,7 @@
         imp.find_module(module_name)
         return True
     except ImportError:
-        grass.fatal(_("{} Python package not installed."
+        grass.error(_("{} Python package not installed."
                       " Exiting").format(module_name))
         return False
 



More information about the grass-commit mailing list