[GRASS-SVN] r57924 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 3 05:34:35 PDT 2013


Author: martinl
Date: 2013-10-03 05:34:35 -0700 (Thu, 03 Oct 2013)
New Revision: 57924

Modified:
   grass/trunk/gui/wxpython/core/utils.py
Log:
wxGUI: GetLayerNameFromCmd() return empty mapset if type unsupported

Modified: grass/trunk/gui/wxpython/core/utils.py
===================================================================
--- grass/trunk/gui/wxpython/core/utils.py	2013-10-03 11:48:46 UTC (rev 57923)
+++ grass/trunk/gui/wxpython/core/utils.py	2013-10-03 12:34:35 UTC (rev 57924)
@@ -169,7 +169,7 @@
                     if not mapset:
                         found = False
                 else:
-                    mapset = grass.gisenv()['MAPSET']
+                    mapset = '' # grass.gisenv()['MAPSET']
             mapsets[i] = mapset
             
         # update dcmd



More information about the grass-commit mailing list