[GRASS-SVN] r44100 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 30 08:39:03 EDT 2010
Author: martinl
Date: 2010-10-30 05:39:03 -0700 (Sat, 30 Oct 2010)
New Revision: 44100
Modified:
grass/trunk/gui/wxpython/gui_modules/prompt.py
Log:
use utils.split() instead
Modified: grass/trunk/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/prompt.py 2010-10-30 12:38:20 UTC (rev 44099)
+++ grass/trunk/gui/wxpython/gui_modules/prompt.py 2010-10-30 12:39:03 UTC (rev 44100)
@@ -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