[GRASS-SVN] r63031 - in grass/trunk: gui/wxpython/core lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 05:16:49 PST 2014


Author: martinl
Date: 2014-11-26 05:16:48 -0800 (Wed, 26 Nov 2014)
New Revision: 63031

Modified:
   grass/trunk/gui/wxpython/core/utils.py
   grass/trunk/lib/python/temporal/stds_import.py
Log:
g.mapset: gisdbase -> dbase

Modified: grass/trunk/gui/wxpython/core/utils.py
===================================================================
--- grass/trunk/gui/wxpython/core/utils.py	2014-11-26 13:13:44 UTC (rev 63030)
+++ grass/trunk/gui/wxpython/core/utils.py	2014-11-26 13:16:48 UTC (rev 63031)
@@ -653,7 +653,7 @@
                          read = True,
                          flags = 'l',
                          location = location,
-                         gisdbase = dbase)
+                         dbase = dbase)
         
         if not ret:
             return listOfMapsets

Modified: grass/trunk/lib/python/temporal/stds_import.py
===================================================================
--- grass/trunk/lib/python/temporal/stds_import.py	2014-11-26 13:13:44 UTC (rev 63030)
+++ grass/trunk/lib/python/temporal/stds_import.py	2014-11-26 13:16:48 UTC (rev 63031)
@@ -273,7 +273,7 @@
         try:
             gscript.run_command("g.mapset", mapset="PERMANENT",
                                 location=location,
-                                gisdbase=old_env["GISDBASE"])
+                                dbase=old_env["GISDBASE"])
         except CalledModuleError:
             gscript.fatal(_("Unable to switch to location %s") % location)
         # create default database connection



More information about the grass-commit mailing list