[GRASS-SVN] r67287 - grass/branches/releasebranch_7_0/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 20 13:18:44 PST 2015


Author: martinl
Date: 2015-12-20 13:18:44 -0800 (Sun, 20 Dec 2015)
New Revision: 67287

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: fix handling error when unable to open input model file
               (merge r67286 from trunk)


Modified: grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py	2015-12-20 21:17:29 UTC (rev 67286)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py	2015-12-20 21:18:44 UTC (rev 67287)
@@ -296,7 +296,7 @@
         try:
             gxmXml = ProcessModelFile(etree.parse(filename))
         except StandardError as e:
-            raise GException(e)
+            raise GException(unicode(e))
         
         if self.canvas:
             win = self.canvas.parent



More information about the grass-commit mailing list