[GRASS-SVN] r56466 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 29 04:59:06 PDT 2013
Author: mmetz
Date: 2013-05-29 04:59:06 -0700 (Wed, 29 May 2013)
New Revision: 56466
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
tab to space
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2013-05-29 11:57:57 UTC (rev 56465)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2013-05-29 11:59:06 UTC (rev 56466)
@@ -717,12 +717,12 @@
"""!Copy the command"""
cmddata = wx.TextDataObject()
# list -> string
- cmdlist = self.createCmd(ignoreErrors = True)
- # TODO: better protect whitespace with quotes
- for i in range(1, len(cmdlist)):
- if ' ' in cmdlist[i]:
- optname, val = cmdlist[i].split("=")
- cmdlist[i] = '%s="%s"' % (optname, val)
+ cmdlist = self.createCmd(ignoreErrors = True)
+ # TODO: better protect whitespace with quotes
+ for i in range(1, len(cmdlist)):
+ if ' ' in cmdlist[i]:
+ optname, val = cmdlist[i].split("=")
+ cmdlist[i] = '%s="%s"' % (optname, val)
cmdstring = ' '.join(cmdlist)
cmddata.SetText(cmdstring)
if wx.TheClipboard.Open():
More information about the grass-commit
mailing list