[GRASS-SVN] r37882 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 14 15:17:01 EDT 2009


Author: martinl
Date: 2009-06-14 15:17:01 -0400 (Sun, 14 Jun 2009)
New Revision: 37882

Modified:
   grass/trunk/gui/wxpython/gui_modules/preferences.py
Log:
Trac #630 - Fix "Mapset Access" broken (wxpython) (tranks to Royce Cline for patch)
    (merge from devbr6, r37880)


Modified: grass/trunk/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/preferences.py	2009-06-14 19:12:27 UTC (rev 37881)
+++ grass/trunk/gui/wxpython/gui_modules/preferences.py	2009-06-14 19:17:01 UTC (rev 37882)
@@ -1832,7 +1832,7 @@
         
         mapsets = []
         if ret:
-            mapsets = ret.rstrip('\n').split('|')
+            mapsets = ret.replace('\n', '').split('|')
         
         for mapset in mapsets:
             index = self.InsertStringItem(sys.maxint, mapset)



More information about the grass-commit mailing list