[GRASS-SVN] r46599 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 8 04:31:34 EDT 2011
Author: martinl
Date: 2011-06-08 01:31:34 -0700 (Wed, 08 Jun 2011)
New Revision: 46599
Modified:
grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
wxGUI: fix UpdateMapsets()
(merge r46598 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py 2011-06-08 08:27:11 UTC (rev 46598)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py 2011-06-08 08:31:34 UTC (rev 46599)
@@ -601,7 +601,7 @@
location = locationName,
gisdbase = self.gisdbase)
- if not ret:
+ if ret == '':
raise gcmd.GError(_("No mapsets available in location <%s>") % locationName)
for line in ret.splitlines():
More information about the grass-commit
mailing list