[GRASS-SVN] r51063 - grass-addons/grass6/raster/r.hazard.flood
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 14 19:30:31 EDT 2012
Author: madi
Date: 2012-03-14 16:30:31 -0700 (Wed, 14 Mar 2012)
New Revision: 51063
Modified:
grass-addons/grass6/raster/r.hazard.flood/r.hazard.flood.py
Log:
(better) import control added
Modified: grass-addons/grass6/raster/r.hazard.flood/r.hazard.flood.py
===================================================================
--- grass-addons/grass6/raster/r.hazard.flood/r.hazard.flood.py 2012-03-14 23:24:23 UTC (rev 51062)
+++ grass-addons/grass6/raster/r.hazard.flood/r.hazard.flood.py 2012-03-14 23:30:31 UTC (rev 51063)
@@ -52,7 +52,7 @@
try:
from grass.script import core as grass
except:
- print "grass.script can't be imported."
+ sys.exit( "grass.script can't be imported.")
if not os.environ.has_key("GISBASE"):
print "You must be in GRASS GIS to run this program."
More information about the grass-commit
mailing list