[GRASS-SVN] r30470 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 4 16:31:39 EST 2008


Author: martinl
Date: 2008-03-04 16:31:39 -0500 (Tue, 04 Mar 2008)
New Revision: 30470

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: cosmetics in error message, be less cryptic

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-03-04 20:18:00 UTC (rev 30469)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-03-04 21:31:39 UTC (rev 30470)
@@ -572,7 +572,8 @@
             try:
                 xml.sax.parseString(fileStream, grcXml)
             except xml.sax.SAXParseException, err:
-                raise gcmd.GStdError(_("Reading workspace file <%s> failed.") % filename + \
+                raise gcmd.GStdError(_("Reading workspace file <%s> failed. "
+                                       "Invalid file, unable to parse XML document.") % filename + \
                                          "\n\n%s" % err,
                                      parent=self)
 



More information about the grass-commit mailing list