[GRASS-SVN] r55682 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 10 05:52:49 PDT 2013


Author: mmetz
Date: 2013-04-10 05:52:49 -0700 (Wed, 10 Apr 2013)
New Revision: 55682

Modified:
   grass/trunk/gui/wxpython/lmgr/pyshell.py
Log:
wxGUI: revert r55395, it breaks the GUI

Modified: grass/trunk/gui/wxpython/lmgr/pyshell.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/pyshell.py	2013-04-10 12:41:27 UTC (rev 55681)
+++ grass/trunk/gui/wxpython/lmgr/pyshell.py	2013-04-10 12:52:49 UTC (rev 55682)
@@ -24,8 +24,6 @@
 from wx.py.version import VERSION
 
 import grass.script as grass
-import grass.pygrass as pygrass
-import grass.pygrass.modules as pgmodules
 
 class PyShellWindow(wx.Panel):
     """!Python Shell Window"""
@@ -40,16 +38,6 @@
         self.shell = PyShell(parent = self, id = wx.ID_ANY,
                              introText = self.intro,
                              locals={'grass': grass,
-                                     'pygrass': pygrass,
-                                     'r': pgmodules.shortcuts.raster,
-                                     'r3': pgmodules.shortcuts.raster3D,
-                                     'v': pgmodules.shortcuts.vector,
-                                     'i': pgmodules.shortcuts.imagery,
-                                     'db': pgmodules.shortcuts.database,
-                                     'g': pgmodules.shortcuts.general,
-                                     'ps': pgmodules.shortcuts.postscript,
-                                     't': pgmodules.shortcuts.temporal,
-                                     'giface': self.parent._giface,  # for experimetal reasons only
                                      'AddLayer': self.AddLayer})
         
         sys.displayhook = self._displayhook



More information about the grass-commit mailing list