[GRASS-SVN] r40324 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 8 15:46:31 EST 2010
Author: martinl
Date: 2010-01-08 15:46:31 -0500 (Fri, 08 Jan 2010)
New Revision: 40324
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: add traceback to CheckPseudoDC()
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2010-01-08 16:26:39 UTC (rev 40323)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2010-01-08 20:46:31 UTC (rev 40324)
@@ -22,6 +22,7 @@
import math
import sys
import tempfile
+import traceback
import wx
@@ -275,7 +276,8 @@
self.pdc.BeginDrawing()
self.pdc.SetBackground(wx.Brush(self.GetBackgroundColour()))
self.pdc.BeginDrawing()
- except:
+ except StandardError, e:
+ traceback.print_exc(file = sys.stderr)
return False
return True
More information about the grass-commit
mailing list