Procházet zdrojové kódy

gcmd.py: more comment

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60635 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho před 11 roky
rodič
revize
3d2b8c944a
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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]: