Explorar o código

make check_stds accept unicode

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74285 15284696-431f-4ddb-bdfa-cd5b030d7da7
Stefan Blumentrath %!s(int64=6) %!d(string=hai) anos
pai
achega
8714ee55ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/python/temporal/temporal_algebra.py

+ 1 - 1
lib/python/temporal/temporal_algebra.py

@@ -1158,7 +1158,7 @@ class TemporalAlgebraParser(object):
 
         :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