From 2f01c7c3ae12df17be707bc41440d9bfcaa939e6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 1 Feb 2015 23:12:32 +0100 Subject: [PATCH] Minor style adjustments in crashdialog.py. --- qutebrowser/misc/crashdialog.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index f7d223cbc..05b411e6d 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -387,7 +387,6 @@ class ExceptionCrashDialog(_CrashDialog): ("Command history", '\n'.join(self._cmdhist)), ("Objects", self._objects), ] - if self._chk_log.isChecked(): try: self._crash_info.append( ("Debug log", log.ram_handler.dump_log())) @@ -441,9 +440,7 @@ class FatalCrashDialog(_CrashDialog): self._lbl.setText(text) def _gather_crash_info(self): - self._crash_info += [ - ("Fault log", self._log), - ] + self._crash_info.append(("Fault log", self._log)) super()._gather_crash_info()