Преглед изворни кода

use utils.split() instead

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44100 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 14 година
родитељ
комит
ab557f3734
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      gui/wxpython/gui_modules/prompt.py

+ 2 - 2
gui/wxpython/gui_modules/prompt.py

@@ -888,9 +888,9 @@ class GPromptSTC(GPrompt, wx.stc.StyledTextCtrl):
             
             # 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)