Fix PEP8: line too long warning

This commit is contained in:
Alexander Cogneau 2015-08-07 21:15:40 +02:00
parent 73c28c12f3
commit 43e0ac1844

View File

@ -220,7 +220,9 @@ class _CrashDialog(QDialog):
exc: An exception tuple (type, value, traceback)
"""
try:
self._crash_info.append(('Launch time', QApplication.instance().launch_time.strftime("%d-%m-%Y %H:%M:%S")))
application = QApplication.instance()
launch_time = application.launch_time.strftime("%d-%m-%Y %H:%M:%S")
self._crash_info.append(('Launch time', launch_time))
except Exception:
self._crash_info.append(("Launch time", traceback.format_exc()))
try: