[GRASS-SVN] r56985 - grass/branches/develbranch_6/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 2 11:48:37 PDT 2013
Author: annakrat
Date: 2013-07-02 11:48:37 -0700 (Tue, 02 Jul 2013)
New Revision: 56985
Modified:
grass/branches/develbranch_6/gui/wxpython/core/utils.py
Log:
wxGUI: patch by Glynn for running r.mapcalc from command line with quotes
Modified: grass/branches/develbranch_6/gui/wxpython/core/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/core/utils.py 2013-07-02 15:01:25 UTC (rev 56984)
+++ grass/branches/develbranch_6/gui/wxpython/core/utils.py 2013-07-02 18:48:37 UTC (rev 56985)
@@ -36,9 +36,7 @@
def split(s):
"""!Platform spefic shlex.split"""
- if sys.version_info >= (2, 6):
- return shlex.split(s, posix = (sys.platform != "win32"))
- elif sys.platform == "win32":
+ if sys.platform == "win32":
return shlex.split(s.replace('\\', r'\\'))
else:
return shlex.split(s)
More information about the grass-commit
mailing list