diff --git a/monkeysign/msg_exception.py b/monkeysign/msg_exception.py index d2a6518104b68b3cbd00571589dd0fa0a0d0e153..ec7aae0b853296f7ed762146c6d04f468f99eccd 100644 --- a/monkeysign/msg_exception.py +++ b/monkeysign/msg_exception.py @@ -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