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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 14 04:32:14 PDT 2015


Author: huhabla
Date: 2015-09-14 04:32:14 -0700 (Mon, 14 Sep 2015)
New Revision: 66206

Modified:
   grass/trunk/lib/python/temporal/c_libraries_interface.py
Log:
temporal library: Fixed wrong check in _available_mapsets() function


Modified: grass/trunk/lib/python/temporal/c_libraries_interface.py
===================================================================
--- grass/trunk/lib/python/temporal/c_libraries_interface.py	2015-09-14 10:22:07 UTC (rev 66205)
+++ grass/trunk/lib/python/temporal/c_libraries_interface.py	2015-09-14 11:32:14 UTC (rev 66206)
@@ -302,7 +302,7 @@
                 char_list += mapset[c]
                 c += 1
             
-            if permission == 1 and permission == 1:
+            if permission >= 0 and in_search_path == 1:
                 mapset_list.append(char_list)
 
             libgis.G_debug(1, "c_library_server._available_mapsets: \n  mapset:  %s\n"\



More information about the grass-commit mailing list