[GRASS-SVN] r60635 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 31 07:16:58 PDT 2014
Author: hcho
Date: 2014-05-31 07:16:58 -0700 (Sat, 31 May 2014)
New Revision: 60635
Modified:
grass/trunk/gui/wxpython/core/gcmd.py
Log:
gcmd.py: more comment
Modified: grass/trunk/gui/wxpython/core/gcmd.py
===================================================================
--- grass/trunk/gui/wxpython/core/gcmd.py 2014-05-31 14:14:53 UTC (rev 60634)
+++ grass/trunk/gui/wxpython/core/gcmd.py 2014-05-31 14:16:58 UTC (rev 60635)
@@ -175,6 +175,8 @@
# 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]:
More information about the grass-commit
mailing list