[GRASS-SVN] r67324 - grass/trunk/gui/wxpython/timeline
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 22 06:37:38 PST 2015
Author: annakrat
Date: 2015-12-22 06:37:38 -0800 (Tue, 22 Dec 2015)
New Revision: 67324
Modified:
grass/trunk/gui/wxpython/timeline/frame.py
Log:
g.gui.timline: beautify error message
Modified: grass/trunk/gui/wxpython/timeline/frame.py
===================================================================
--- grass/trunk/gui/wxpython/timeline/frame.py 2015-12-22 14:01:05 UTC (rev 67323)
+++ grass/trunk/gui/wxpython/timeline/frame.py 2015-12-22 14:37:38 UTC (rev 67324)
@@ -346,8 +346,8 @@
datasets = self._checkDatasets(datasets)
if not datasets:
return
- except GException:
- GError(parent=self, message=_("Invalid input data"))
+ except GException, e:
+ GError(parent=self, message=unicode(e), showTraceback=False)
return
self.datasets = datasets
@@ -444,8 +444,8 @@
datasets = self._checkDatasets(datasets)
if not datasets:
return
- except GException:
- GError(parent=self, message=_("Invalid input data"))
+ except GException, e:
+ GError(parent=self, message=unicode(e), showTraceback=False)
return
self.datasets = datasets
self.datasetSelect.SetValue(','.join(map(lambda x: x[0] + '@' + x[1], datasets)))
More information about the grass-commit
mailing list