[GRASS-SVN] r44179 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 6 06:37:10 EDT 2010


Author: martinl
Date: 2010-11-06 03:37:10 -0700 (Sat, 06 Nov 2010)
New Revision: 44179

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py
Log:
fix r44101


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py	2010-11-05 08:04:46 UTC (rev 44178)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py	2010-11-06 10:37:10 UTC (rev 44179)
@@ -888,9 +888,9 @@
             
             # parse command into list
             try:
-                cmd = shlex.split(str(line))
+                cmd = utils.split(str(line))
             except UnicodeError:
-                cmd = shlex.split(utils.EncodeString((line)))
+                cmd = utils.split(utils.EncodeString((line)))
             
             #  send the command list to the processor 
             self.parent.RunCmd(cmd)



More information about the grass-commit mailing list