[GRASS-SVN] r35635 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 25 16:37:54 EST 2009
Author: martinl
Date: 2009-01-25 16:37:54 -0500 (Sun, 25 Jan 2009)
New Revision: 35635
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py
Log:
wxGUI: don't crash when missing vdigit
(merge from trunk, r35633)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py 2009-01-25 21:35:47 UTC (rev 35634)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py 2009-01-25 21:37:54 UTC (rev 35635)
@@ -22,7 +22,7 @@
- VDigitDuplicatesDialog
- VDigitVBuildDialog
-(C) 2007-2008 by the GRASS Development Team
+(C) 2007-2009 by the GRASS Development Team
This program is free software under the GNU General Public
License (>=v2). Read the file COPYING that comes with GRASS
@@ -53,16 +53,16 @@
sys.path.append(digitPath)
import grass6_wxvdigit as wxvdigit
GV_LINES = wxvdigit.GV_LINES
+ PseudoDC = wxvdigit.PseudoDC
digitErr = ''
except ImportError, err:
GV_LINES = None
+ PseudoDC = None
digitErr = err
print >> sys.stderr, "%sWARNING: Digitization tool is disabled (%s). " \
"Detailed information in README file." % \
(os.linesep, err)
-PseudoDC = wxvdigit.PseudoDC
-
class AbstractDigit:
"""
Abstract digitization class
More information about the grass-commit
mailing list