[GRASS-SVN] r56177 - grass/branches/develbranch_6/gui/wxpython/location_wizard
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 9 07:03:01 PDT 2013
Author: hamish
Date: 2013-05-09 07:03:01 -0700 (Thu, 09 May 2013)
New Revision: 56177
Modified:
grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
Log:
split on +proj4 terms, not on spaces in path names
Modified: grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py 2013-05-09 13:34:01 UTC (rev 56176)
+++ grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py 2013-05-09 14:03:01 UTC (rev 56177)
@@ -1680,7 +1680,7 @@
if ret == 0:
if datum != '':
projlabel = projlabel + ' ' + 'datum=%s' % datum
- self.lproj4string.SetLabel(projlabel.replace(' ', os.linesep))
+ self.lproj4string.SetLabel(projlabel.replace(' +', os.linesep + '+'))
finishButton.Enable(True)
else:
GError(err, parent = self)
@@ -1711,7 +1711,7 @@
elif coordsys == 'custom':
label = _("custom")
combo_str = self.parent.custompage.customstring + self.parent.custompage.custom_dtrans_string
- self.lproj4string.SetLabel(('%s' % combo_str.replace(' ', os.linesep)))
+ self.lproj4string.SetLabel(('%s' % combo_str.replace(' +', os.linesep + '+')))
self.lprojection.SetLabel(label)
def OnFinish(self, event):
More information about the grass-commit
mailing list