Explorar o código

Temporal API changed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48696 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert %!s(int64=13) %!d(string=hai) anos
pai
achega
ff662d4988
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      temporal/tr.extract/tr.extract.py
  2. 1 1
      temporal/tr.series/tr.series.py

+ 1 - 1
temporal/tr.extract/tr.extract.py

@@ -117,7 +117,7 @@ def main():
     new_sp.set_initial_values(granularity, temporal_type, semantic_type, title, description)
     new_sp.insert(dbif)
 
-    rows = sp.get_registered_maps(dbif, where, "start_time")
+    rows = sp.get_registered_maps(where, "start_time", dbif)
 
     if rows:
 	num_rows = len(rows)

+ 1 - 1
temporal/tr.series/tr.series.py

@@ -91,7 +91,7 @@ def main():
 
     sp.select()
 
-    rows = sp.get_registered_maps(None, where, sort)
+    rows = sp.get_registered_maps(where, sort, None)
 
     if rows:
         # Create the r.series input file