[GRASS-SVN] r58135 - grass/trunk/lib/python/pygrass

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 31 08:40:47 PDT 2013


Author: martinl
Date: 2013-10-31 08:40:45 -0700 (Thu, 31 Oct 2013)
New Revision: 58135

Modified:
   grass/trunk/lib/python/pygrass/functions.py
Log:
pygrass: use G_find_raster2() instead of G_find_raster(), same for vectors

Modified: grass/trunk/lib/python/pygrass/functions.py
===================================================================
--- grass/trunk/lib/python/pygrass/functions.py	2013-10-31 10:33:48 UTC (rev 58134)
+++ grass/trunk/lib/python/pygrass/functions.py	2013-10-31 15:40:45 UTC (rev 58135)
@@ -134,7 +134,7 @@
     'PERMANENT'
 
     """
-    return libgis.G_find_raster(mapname, mapset)
+    return libgis.G_find_raster2(mapname, mapset)
 
 
 def get_mapset_vector(mapname, mapset=''):
@@ -144,7 +144,7 @@
     'PERMANENT'
 
     """
-    return libgis.G_find_vector(mapname, mapset)
+    return libgis.G_find_vector2(mapname, mapset)
 
 
 def is_clean_name(name):



More information about the grass-commit mailing list