Explorar o código

gcmd.py: more comment

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60635 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho %!s(int64=11) %!d(string=hai) anos
pai
achega
3d2b8c944a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      gui/wxpython/core/gcmd.py

+ 2 - 0
gui/wxpython/core/gcmd.py

@@ -175,6 +175,8 @@ class Popen(subprocess.Popen):
             # should also be included. A quick test revealed that only ^|& need
             # to be escaped.
             for i in range(2, len(args)):
+                # "^" must be the first character in the list to avoid double
+                # escaping.
                 for c in ("^", "|", "&"):
                     if c in args[i]:
                         if "=" in args[i]: