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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 17 15:11:51 PDT 2019


Author: sbl
Date: 2019-03-17 15:11:51 -0700 (Sun, 17 Mar 2019)
New Revision: 74285

Modified:
   grass/trunk/lib/python/temporal/temporal_algebra.py
Log:
make check_stds accept unicode

Modified: grass/trunk/lib/python/temporal/temporal_algebra.py
===================================================================
--- grass/trunk/lib/python/temporal/temporal_algebra.py	2019-03-17 20:17:19 UTC (rev 74284)
+++ grass/trunk/lib/python/temporal/temporal_algebra.py	2019-03-17 22:11:51 UTC (rev 74285)
@@ -1158,7 +1158,7 @@
 
         :return: List of maps.
         """
-        if isinstance(input, str):
+        if isinstance(input, unicode) or isinstance(input, str):
             # Check for mapset in given stds input.
             if input.find("@") >= 0:
                 id_input = input



More information about the grass-commit mailing list