From 43e0ac1844420ce33a8073df775d625236b31dbc Mon Sep 17 00:00:00 2001 From: Alexander Cogneau Date: Fri, 7 Aug 2015 21:15:40 +0200 Subject: [PATCH] Fix PEP8: line too long warning --- qutebrowser/misc/crashdialog.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 05cca5b85..a7645d62c 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -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: