[GRASS-SVN] r35836 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 9 15:25:09 EST 2009
Author: martinl
Date: 2009-02-09 15:25:00 -0500 (Mon, 09 Feb 2009)
New Revision: 35836
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
Log:
wxGUI: fix mapset access dialog
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2009-02-09 20:21:20 UTC (rev 35835)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2009-02-09 20:25:00 UTC (rev 35836)
@@ -1806,11 +1806,9 @@
ret = gcmd.RunCommand('g.mapsets',
flags = 'l',
read = True)
- ret = ret.rstrip('\n')
-
mapsets = []
if ret:
- mapsets = ret.split()
+ mapsets = ret.rstrip(' \n').split(' ')
for mapset in mapsets:
index = self.InsertStringItem(sys.maxint, mapset)
More information about the grass-commit
mailing list