[GRASS-SVN] r66279 - grass/branches/releasebranch_7_0/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 22 04:35:09 PDT 2015
Author: neteler
Date: 2015-09-22 04:35:09 -0700 (Tue, 22 Sep 2015)
New Revision: 66279
Modified:
grass/branches/releasebranch_7_0/lib/python/temporal/register.py
Log:
t.register: assume current mapset if not specified (as for other t.*)
Modified: grass/branches/releasebranch_7_0/lib/python/temporal/register.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/temporal/register.py 2015-09-22 11:34:53 UTC (rev 66278)
+++ grass/branches/releasebranch_7_0/lib/python/temporal/register.py 2015-09-22 11:35:09 UTC (rev 66279)
@@ -91,6 +91,8 @@
# The name of the space time dataset is optional
if name:
+ if name.find("@") <= 0:
+ name = name + "@" + mapset
sp = open_old_stds(name, type, dbif)
if sp.is_time_relative() and (start or end) and not unit:
More information about the grass-commit
mailing list