[GRASS-SVN] r63235 - in grass/branches/releasebranch_7_0/scripts: d.to.rast d.what.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 28 02:05:55 PST 2014
Author: neteler
Date: 2014-11-28 02:05:55 -0800 (Fri, 28 Nov 2014)
New Revision: 63235
Modified:
grass/branches/releasebranch_7_0/scripts/d.to.rast/d.to.rast.py
grass/branches/releasebranch_7_0/scripts/d.what.rast/d.what.rast.py
Log:
Fix for r63227: remove double check
Modified: grass/branches/releasebranch_7_0/scripts/d.to.rast/d.to.rast.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/d.to.rast/d.to.rast.py 2014-11-28 10:05:29 UTC (rev 63234)
+++ grass/branches/releasebranch_7_0/scripts/d.to.rast/d.to.rast.py 2014-11-28 10:05:55 UTC (rev 63235)
@@ -27,11 +27,6 @@
def main():
- env = gcore.gisenv()
- mon = env.get('MONITOR', None)
- if not mon:
- gcore.fatal(_("No graphics device selected. Use d.mon to select graphics device."))
-
options, flags = gcore.parser()
gisenv = gcore.gisenv()
if 'MONITOR' in gisenv:
Modified: grass/branches/releasebranch_7_0/scripts/d.what.rast/d.what.rast.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/d.what.rast/d.what.rast.py 2014-11-28 10:05:29 UTC (rev 63234)
+++ grass/branches/releasebranch_7_0/scripts/d.what.rast/d.what.rast.py 2014-11-28 10:05:55 UTC (rev 63235)
@@ -27,11 +27,6 @@
def main():
- env = gcore.gisenv()
- mon = env.get('MONITOR', None)
- if not mon:
- gcore.fatal(_("No graphics device selected. Use d.mon to select graphics device."))
-
options, flags = gcore.parser()
gisenv = gcore.gisenv()
if 'MONITOR' in gisenv:
More information about the grass-commit
mailing list