[GRASS-SVN] r57014 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 4 13:40:09 PDT 2013


Author: annakrat
Date: 2013-07-04 13:40:08 -0700 (Thu, 04 Jul 2013)
New Revision: 57014

Modified:
   grass/trunk/gui/wxpython/core/utils.py
Log:
wxGUI: patch by Glynn for running r.mapcalc from command line with quotes

Modified: grass/trunk/gui/wxpython/core/utils.py
===================================================================
--- grass/trunk/gui/wxpython/core/utils.py	2013-07-04 14:11:00 UTC (rev 57013)
+++ grass/trunk/gui/wxpython/core/utils.py	2013-07-04 20:40:08 UTC (rev 57014)
@@ -38,9 +38,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