[GRASS-SVN] r46600 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 8 04:34:33 EDT 2011


Author: martinl
Date: 2011-06-08 01:34:33 -0700 (Wed, 08 Jun 2011)
New Revision: 46600

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
Log:
wxGUI: fix UpdateMapsets()
      (merge r46598 from trunk)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2011-06-08 08:31:34 UTC (rev 46599)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2011-06-08 08:34:33 UTC (rev 46600)
@@ -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