[GRASS-SVN] r37881 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 14 15:12:27 EDT 2009
Author: martinl
Date: 2009-06-14 15:12:27 -0400 (Sun, 14 Jun 2009)
New Revision: 37881
Modified:
grass/branches/releasebranch_6_4/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/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py 2009-06-14 19:09:56 UTC (rev 37880)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py 2009-06-14 19:12:27 UTC (rev 37881)
@@ -1805,7 +1805,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