Add __repr__ to CrashDialog

This commit is contained in:
Florian Bruhin 2014-06-25 23:03:33 +02:00
parent 0e6a2a8611
commit 15ca1b7f59

View File

@ -77,6 +77,9 @@ class _CrashDialog(QDialog):
self._vbox.addWidget(self._url)
self._init_buttons()
def __repr__(self):
return '<{}>'.format(self.__class__.__name__)
def _init_text(self):
"""Initialize the main text to be displayed on an exception.