[GRASS-SVN] r41151 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 21 14:38:18 EST 2010


Author: cmbarton
Date: 2010-02-21 14:38:17 -0500 (Sun, 21 Feb 2010)
New Revision: 41151

Modified:
   grass/trunk/gui/wxpython/gui_modules/render.py
Log:
gcmd.RunCommand needs to return error messages in this context

Modified: grass/trunk/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/render.py	2010-02-21 17:34:03 UTC (rev 41150)
+++ grass/trunk/gui/wxpython/gui_modules/render.py	2010-02-21 19:38:17 UTC (rev 41151)
@@ -148,7 +148,8 @@
             if self.type == 'command':
                 read = False
                 for c in self.cmd:
-                    ret = gcmd.RunCommand(c[0],
+                    ret, msg = gcmd.RunCommand(c[0],
+                                          getErrorMsg = True,
                                           quiet = True,
                                           **c[1])
                     if ret != 0:



More information about the grass-commit mailing list