[GRASS-SVN] r49418 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 29 05:01:37 EST 2011
Author: martinl
Date: 2011-11-29 02:01:37 -0800 (Tue, 29 Nov 2011)
New Revision: 49418
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py
Log:
wxGUI/vdigit: catch also NameError
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py 2011-11-29 08:52:29 UTC (rev 49417)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py 2011-11-29 10:01:37 UTC (rev 49418)
@@ -43,7 +43,7 @@
from wxvdigit import IVDigit, GV_LINES
haveVDigit = True
errorMsg = ''
-except ImportError, err:
+except (ImportError, NameError), err:
haveVDigit = False
errorMsg = err
GV_LINES = -1
More information about the grass-commit
mailing list