[GRASS-SVN] r74089 - grass/trunk/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 15 11:27:14 PST 2019
Author: veroandreo
Date: 2019-02-15 11:27:14 -0800 (Fri, 15 Feb 2019)
New Revision: 74089
Modified:
grass/trunk/lib/python/temporal/spatio_temporal_relationships.py
Log:
temporal lib: wrap list() around dictionary as suggested by huhabla, fixes #3727
Modified: grass/trunk/lib/python/temporal/spatio_temporal_relationships.py
===================================================================
--- grass/trunk/lib/python/temporal/spatio_temporal_relationships.py 2019-02-15 13:29:23 UTC (rev 74088)
+++ grass/trunk/lib/python/temporal/spatio_temporal_relationships.py 2019-02-15 19:27:14 UTC (rev 74089)
@@ -375,7 +375,7 @@
def _detect_first(self):
if len(self) > 0:
- prev_ = self._store.values()[0]
+ prev_ = list(self._store.values())[0]
while prev_ is not None:
self._first = prev_
prev_ = prev_.prev()
More information about the grass-commit
mailing list