Turn off flake8 for exception hook.

This commit is contained in:
Florian Bruhin 2014-12-21 18:11:35 +01:00
parent 28dfd73c60
commit 2d1c12f69b

View File

@ -465,7 +465,7 @@ class Application(QApplication):
except OSError:
log.destroy.exception("Could not remove crash log!")
def _exception_hook(self, exctype, excvalue, tb):
def _exception_hook(self, exctype, excvalue, tb): # noqa
"""Handle uncaught python exceptions.
It'll try very hard to write all open tabs to a file, and then exit