Browse Source

Fix: the mapset parameter were not used, thank you to Stefano Cavallari

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55050 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 12 years ago
parent
commit
bccd32c891
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/python/pygrass/functions.py

+ 2 - 2
lib/python/pygrass/functions.py

@@ -71,7 +71,7 @@ def get_mapset_raster(mapname, mapset=''):
     'PERMANENT'
 
     """
-    return libgis.G_find_raster(mapname, '')
+    return libgis.G_find_raster(mapname, mapset)
 
 
 def get_mapset_vector(mapname, mapset=''):
@@ -81,7 +81,7 @@ def get_mapset_vector(mapname, mapset=''):
     'PERMANENT'
 
     """
-    return libgis.G_find_vector(mapname, '')
+    return libgis.G_find_vector(mapname, mapset)
 
 
 def is_clean_name(name):