Browse Source

Fix typo when setting GISDBASE

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57558 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 11 years ago
parent
commit
54912fdcc8
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/python/pygrass/gis/__init__.py

+ 1 - 2
lib/python/pygrass/gis/__init__.py

@@ -50,7 +50,6 @@ CHECK_IS = {"GISBASE": libgis.G_is_gisbase,
 
 
 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 @@ def set_current_mapset(mapset, location=None, gisdbase=None):
     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):