[GRASS-SVN] r46056 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 21 03:57:39 EDT 2011
Author: martinl
Date: 2011-04-21 00:57:39 -0700 (Thu, 21 Apr 2011)
New Revision: 46056
Modified:
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: fix importing optional modules
Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2011-04-21 07:31:24 UTC (rev 46055)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2011-04-21 07:57:39 UTC (rev 46056)
@@ -247,7 +247,7 @@
def OnGCPManager(self, event):
"""!Launch georectifier module
"""
- import gui_modules.gcpmanager as gcpmanager
+ from gui_modules import gcpmanager
gcpmanager.GCPWizard(self)
def OnGModeler(self, event):
@@ -261,7 +261,7 @@
"""!Launch Hardcopy Map Output Utility
"""
try:
- import psmap
+ from gui_modules import psmap
except:
gcmd.GError(parent = self.parent,
message = _("Hardcopy Map Output Utility is not available. You can install it by %s") % \
More information about the grass-commit
mailing list