[GRASS-SVN] r69170 - grass/branches/releasebranch_7_2/scripts/d.redraw

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 20 19:33:37 PDT 2016


Author: annakrat
Date: 2016-08-20 19:33:33 -0700 (Sat, 20 Aug 2016)
New Revision: 69170

Modified:
   grass/branches/releasebranch_7_2/scripts/d.redraw/d.redraw.py
Log:
d.redraw: fix error when using wx monitor (merge from trunk, r69169)

Modified: grass/branches/releasebranch_7_2/scripts/d.redraw/d.redraw.py
===================================================================
--- grass/branches/releasebranch_7_2/scripts/d.redraw/d.redraw.py	2016-08-21 02:32:04 UTC (rev 69169)
+++ grass/branches/releasebranch_7_2/scripts/d.redraw/d.redraw.py	2016-08-21 02:33:33 UTC (rev 69170)
@@ -43,6 +43,8 @@
         grass.run_command('d.erase')
 
         for cmd in cmdList:
+            if cmd.startswith('#'):
+                continue
             grass.call(split(cmd))
     except IOError as e:
         grass.fatal(_("Unable to open file '%s' for reading. Details: %s") %



More information about the grass-commit mailing list