[GRASS-SVN] r30698 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 22 16:32:39 EDT 2008
Author: martinl
Date: 2008-03-22 16:32:39 -0400 (Sat, 22 Mar 2008)
New Revision: 30698
Modified:
grass/trunk/gui/wxpython/gui_modules/render.py
Log:
wxGUI: print error messages to sys.stderr
Modified: grass/trunk/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/render.py 2008-03-22 20:29:19 UTC (rev 30697)
+++ grass/trunk/gui/wxpython/gui_modules/render.py 2008-03-22 20:32:39 UTC (rev 30698)
@@ -128,7 +128,7 @@
self.maskfile = None
except gcmd.CmdError, e:
- print e
+ print >> sys.stderr, e
self.mapfile = None
self.maskfile = None
@@ -428,7 +428,7 @@
e.message = _("Unable to zoom to vector map <%s>.") % vect + \
'%s%s' % (os.linesep, os.linesep) + e.message
- print e
+ print >> sys.stderr, e
return self.region
for reg in cmdRegion.ReadStdOutput():
@@ -689,7 +689,7 @@
gcmd.Command(complist)
# os.system(compstring)
except gcmd.CmdError, e:
- print e
+ print >> sys.stderr, e
return None
Debug.msg (2, "Map.Render() force=%s file=%s" % (force, self.mapfile))
More information about the grass-commit
mailing list