[GRASS-SVN] r60649 - in grass/branches/releasebranch_7_0/temporal: t.list t.rast.list t.rast.univar t.rast3d.list t.rast3d.univar t.register t.sample t.vect.db.select t.vect.list t.vect.univar

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 31 10:37:38 PDT 2014


Author: neteler
Date: 2014-05-31 10:37:38 -0700 (Sat, 31 May 2014)
New Revision: 60649

Modified:
   grass/branches/releasebranch_7_0/temporal/t.list/t.list.py
   grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.py
   grass/branches/releasebranch_7_0/temporal/t.rast.univar/t.rast.univar.py
   grass/branches/releasebranch_7_0/temporal/t.rast3d.list/t.rast3d.list.py
   grass/branches/releasebranch_7_0/temporal/t.rast3d.univar/t.rast3d.univar.py
   grass/branches/releasebranch_7_0/temporal/t.register/t.register.py
   grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.py
   grass/branches/releasebranch_7_0/temporal/t.vect.db.select/t.vect.db.select.py
   grass/branches/releasebranch_7_0/temporal/t.vect.list/t.vect.list.py
   grass/branches/releasebranch_7_0/temporal/t.vect.univar/t.vect.univar.py
Log:
t.* modules: use grass.separator() and allow multi-character separators (backport of trunk, r60631)

Modified: grass/branches/releasebranch_7_0/temporal/t.list/t.list.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.list/t.list.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.list/t.list.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -91,7 +91,7 @@
     columns = options["columns"]
     order = options["order"]
     where = options["where"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     colhead = flags['h']
 
     # Make sure the temporal database exists

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -93,7 +93,7 @@
     columns = options["columns"]
     order = options["order"]
     where = options["where"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     method = options["method"]
     granule = options["granule"]
     header = flags["h"]

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.univar/t.rast.univar.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.univar/t.rast.univar.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.univar/t.rast.univar.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -57,7 +57,7 @@
     where = options["where"]
     extended = flags["e"]
     colhead = flags["h"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
 
     # Make sure the temporal database exists
     tgis.init()

Modified: grass/branches/releasebranch_7_0/temporal/t.rast3d.list/t.rast3d.list.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast3d.list/t.rast3d.list.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.rast3d.list/t.rast3d.list.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -84,7 +84,7 @@
     columns = options["columns"]
     order = options["order"]
     where = options["where"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     method = options["method"]
     header = flags["h"]
 

Modified: grass/branches/releasebranch_7_0/temporal/t.rast3d.univar/t.rast3d.univar.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast3d.univar/t.rast3d.univar.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.rast3d.univar/t.rast3d.univar.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -57,7 +57,7 @@
     where = options["where"]
     extended = flags["e"]
     header = flags["h"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
 
     # Make sure the temporal database exists
     tgis.init()

Modified: grass/branches/releasebranch_7_0/temporal/t.register/t.register.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.register/t.register.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.register/t.register.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -110,7 +110,7 @@
     maps = options["maps"]
     type = options["type"]
     file = options["file"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     start = options["start"]
     end = options["end"]
     unit = options["unit"]

Modified: grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -72,7 +72,7 @@
     sampler = options["sample"]
     samtype = options["samtype"]
     intype = options["intype"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     method = options["method"]
     header = flags["h"]
     spatial = flags["s"]

Modified: grass/branches/releasebranch_7_0/temporal/t.vect.db.select/t.vect.db.select.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.vect.db.select/t.vect.db.select.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.vect.db.select/t.vect.db.select.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -57,7 +57,7 @@
     columns = options["columns"]
     tempwhere = options["t_where"]
     layer = options["layer"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
 
     if where == "" or where == " " or where == "\n":
         where = None

Modified: grass/branches/releasebranch_7_0/temporal/t.vect.list/t.vect.list.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.vect.list/t.vect.list.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.vect.list/t.vect.list.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -85,7 +85,7 @@
     columns = options["columns"]
     order = options["order"]
     where = options["where"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
     method = options["method"]
     header = flags["h"]
 

Modified: grass/branches/releasebranch_7_0/temporal/t.vect.univar/t.vect.univar.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.vect.univar/t.vect.univar.py	2014-05-31 15:43:33 UTC (rev 60648)
+++ grass/branches/releasebranch_7_0/temporal/t.vect.univar/t.vect.univar.py	2014-05-31 17:37:38 UTC (rev 60649)
@@ -79,7 +79,7 @@
     where = options["where"]
     extended = flags["e"]
     header = flags["h"]
-    separator = options["separator"]
+    separator = grass.separator(options["separator"])
 
     # Make sure the temporal database exists
     tgis.init()



More information about the grass-commit mailing list