[GRASS-SVN] r57558 - grass/trunk/lib/python/pygrass/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 30 10:14:22 PDT 2013
Author: zarch
Date: 2013-08-30 10:14:21 -0700 (Fri, 30 Aug 2013)
New Revision: 57558
Modified:
grass/trunk/lib/python/pygrass/gis/__init__.py
Log:
Fix typo when setting GISDBASE
Modified: grass/trunk/lib/python/pygrass/gis/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/gis/__init__.py 2013-08-30 13:52:44 UTC (rev 57557)
+++ grass/trunk/lib/python/pygrass/gis/__init__.py 2013-08-30 17:14:21 UTC (rev 57558)
@@ -50,7 +50,6 @@
def _check(value, path, type):
- #import pdb; pdb.set_trace()
if value and CHECK_IS[type](join(path, value)):
return value
elif value is '':
@@ -65,7 +64,7 @@
if location:
libgis.G_setenv('LOCATION_NAME', location)
if gisdbase:
- libgis.G_setenv('GISDBASEE', gisdbase)
+ libgis.G_setenv('GISDBASE', gisdbase)
def make_mapset(mapset, location=None, gisdbase=None):
More information about the grass-commit
mailing list