[GRASS-SVN] r51574 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 29 18:12:51 EDT 2012
Author: martinl
Date: 2012-04-29 15:12:51 -0700 (Sun, 29 Apr 2012)
New Revision: 51574
Modified:
grass/trunk/gui/wxpython/mapdisp/main.py
Log:
wxGUI stand-alone monitor: use `unset` to discard gisenv variables
Modified: grass/trunk/gui/wxpython/mapdisp/main.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/main.py 2012-04-29 17:07:24 UTC (rev 51573)
+++ grass/trunk/gui/wxpython/mapdisp/main.py 2012-04-29 22:12:51 UTC (rev 51574)
@@ -134,9 +134,9 @@
for key in env.keys():
if key.find(env_name) == 0:
RunCommand('g.gisenv',
- set = '%s=' % key)
+ unset = '%s' % key)
if key == 'MONITOR' and env[key] == monName:
RunCommand('g.gisenv',
- set = '%s=' % key)
+ unset = '%s' % key)
sys.exit(0)
More information about the grass-commit
mailing list