[GRASS-SVN] r60624 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 31 02:28:11 PDT 2014
Author: hcho
Date: 2014-05-31 02:28:11 -0700 (Sat, 31 May 2014)
New Revision: 60624
Modified:
grass/trunk/lib/python/script/core.py
Log:
grass.separator: added \t and \n
Modified: grass/trunk/lib/python/script/core.py
===================================================================
--- grass/trunk/lib/python/script/core.py 2014-05-31 09:26:48 UTC (rev 60623)
+++ grass/trunk/lib/python/script/core.py 2014-05-31 09:28:11 UTC (rev 60624)
@@ -682,9 +682,9 @@
return ","
elif sep == "space":
return " "
- elif sep == "tab":
+ elif sep == "tab" or sep == "\\t":
return "\t"
- elif sep == "newline":
+ elif sep == "newline" or sep == "\\n":
return "\n"
return sep
More information about the grass-commit
mailing list