Loading monkeysign/msg_exception.py +9 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,15 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # This file was imported from the bug-triage tool after reading this blog post: # http://grmontesino.blogspot.ca/2007/07/exception-handling-on-pygtk.html # Other solutions based on sys.excepthook may work better, see: # http://faq.pygtk.org/index.py?req=show&file=faq20.010.htp # both links are broken above, see instead: # http://www.sysfs.be/downloads/gtkexcepthook.py # https://github.com/mypaint/mypaint/blob/master/gui/gtkexcepthook.py # the latter also has hooks to send github bug reports! import pygtk pygtk.require("2.0") import gtk Loading Loading
monkeysign/msg_exception.py +9 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,15 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # This file was imported from the bug-triage tool after reading this blog post: # http://grmontesino.blogspot.ca/2007/07/exception-handling-on-pygtk.html # Other solutions based on sys.excepthook may work better, see: # http://faq.pygtk.org/index.py?req=show&file=faq20.010.htp # both links are broken above, see instead: # http://www.sysfs.be/downloads/gtkexcepthook.py # https://github.com/mypaint/mypaint/blob/master/gui/gtkexcepthook.py # the latter also has hooks to send github bug reports! import pygtk pygtk.require("2.0") import gtk Loading