[GRASS-SVN] r55050 - grass/trunk/lib/python/pygrass
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 14 07:29:48 PST 2013
Author: zarch
Date: 2013-02-14 07:29:48 -0800 (Thu, 14 Feb 2013)
New Revision: 55050
Modified:
grass/trunk/lib/python/pygrass/functions.py
Log:
Fix: the mapset parameter were not used, thank you to Stefano Cavallari
Modified: grass/trunk/lib/python/pygrass/functions.py
===================================================================
--- grass/trunk/lib/python/pygrass/functions.py 2013-02-14 15:00:25 UTC (rev 55049)
+++ grass/trunk/lib/python/pygrass/functions.py 2013-02-14 15:29:48 UTC (rev 55050)
@@ -71,7 +71,7 @@
'PERMANENT'
"""
- return libgis.G_find_raster(mapname, '')
+ return libgis.G_find_raster(mapname, mapset)
def get_mapset_vector(mapname, mapset=''):
@@ -81,7 +81,7 @@
'PERMANENT'
"""
- return libgis.G_find_vector(mapname, '')
+ return libgis.G_find_vector(mapname, mapset)
def is_clean_name(name):
More information about the grass-commit
mailing list