[GRASS-SVN] r37880 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 14 15:09:56 EDT 2009
Author: martinl
Date: 2009-06-14 15:09:56 -0400 (Sun, 14 Jun 2009)
New Revision: 37880
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
Log:
Trac #630 - Fix "Mapset Access" broken (wxpython) (tranks to Royce Cline for patch)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2009-06-14 18:28:15 UTC (rev 37879)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2009-06-14 19:09:56 UTC (rev 37880)
@@ -1838,7 +1838,7 @@
read = True)
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