[GRASS-SVN] r66278 - grass/trunk/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 22 04:34:53 PDT 2015
Author: neteler
Date: 2015-09-22 04:34:53 -0700 (Tue, 22 Sep 2015)
New Revision: 66278
Modified:
grass/trunk/lib/python/temporal/register.py
Log:
t.register: assume current mapset if not specified (as for other t.*)
Modified: grass/trunk/lib/python/temporal/register.py
===================================================================
--- grass/trunk/lib/python/temporal/register.py 2015-09-22 11:30:32 UTC (rev 66277)
+++ grass/trunk/lib/python/temporal/register.py 2015-09-22 11:34:53 UTC (rev 66278)
@@ -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