[GRASS-SVN] r57468 - grass/trunk/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 18 09:17:31 PDT 2013


Author: huhabla
Date: 2013-08-18 09:17:31 -0700 (Sun, 18 Aug 2013)
New Revision: 57468

Modified:
   grass/trunk/lib/python/temporal/temporal_extent.py
Log:
Fixed wrong argument name


Modified: grass/trunk/lib/python/temporal/temporal_extent.py
===================================================================
--- grass/trunk/lib/python/temporal/temporal_extent.py	2013-08-18 16:11:27 UTC (rev 57467)
+++ grass/trunk/lib/python/temporal/temporal_extent.py	2013-08-18 16:17:31 UTC (rev 57468)
@@ -197,7 +197,7 @@
         if issubclass(type(self), RelativeTemporalExtent):
             return RelativeTemporalExtent(start_time=start, end_time=end, unit=self.get_unit())
         elif issubclass(type(self), AbsoluteTemporalExtent):
-            return AbsoluteTemporalExtent(start_time=start, end_time=end, tz=self.get_timezone())
+            return AbsoluteTemporalExtent(start_time=start, end_time=end, timezone=self.get_timezone())
         elif issubclass(type(self), AbstractTemporalExtent):
             return AbstractTemporalExtent(start_time=start, end_time=end)
 
@@ -365,7 +365,7 @@
         if issubclass(type(self), RelativeTemporalExtent):
             return RelativeTemporalExtent(start_time=start, end_time=end, unit=self.get_unit())
         elif issubclass(type(self), AbsoluteTemporalExtent):
-            return AbsoluteTemporalExtent(start_time=start, end_time=end, tz=self.get_timezone())
+            return AbsoluteTemporalExtent(start_time=start, end_time=end, timezone=self.get_timezone())
         elif issubclass(type(self), AbstractTemporalExtent):
             return AbstractTemporalExtent(start_time=start, end_time=end)
 



More information about the grass-commit mailing list