[GRASS-SVN] r60787 - grass/branches/releasebranch_7_0/gui/wxpython/animation
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 10 19:16:06 PDT 2014
Author: annakrat
Date: 2014-06-10 19:16:06 -0700 (Tue, 10 Jun 2014)
New Revision: 60787
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/animation/temporal_manager.py
Log:
wxGUI/animation: fix slider label for relative point data (merge from trunk, r60786)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/animation/temporal_manager.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/animation/temporal_manager.py 2014-06-11 02:14:07 UTC (rev 60786)
+++ grass/branches/releasebranch_7_0/gui/wxpython/animation/temporal_manager.py 2014-06-11 02:16:06 UTC (rev 60787)
@@ -213,7 +213,7 @@
if end is not None else None, unit) for (st, end, unit) in timestamps]
else:
# ('15', '16', u'years'),
- timestamps = [(str(st), str(end), unit) for st, end, unit in timestamps]
+ timestamps = [(str(st), end if end is None else str(end), unit) for st, end, unit in timestamps]
return timestamps, mapDict
def _getLabelsAndMaps(self, timeseries):
More information about the grass-commit
mailing list