From edf762e2107f8d7278a1ef5bcc35bd95d4291c09 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 6 Mar 2015 17:04:56 +0100 Subject: [PATCH] Avoid pylint duplicate-code warning. --- qutebrowser/test/log.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qutebrowser/test/log.py b/qutebrowser/test/log.py index b60d4a978..db31cdaa0 100644 --- a/qutebrowser/test/log.py +++ b/qutebrowser/test/log.py @@ -52,6 +52,8 @@ def qt_message_handler(msg_type, context, msg): QtFatalMsg: logging.CRITICAL, } level = qt_to_logging[msg_type] + # There's very similiar code in utils.log, but we want it duplicated here + # for the tests. if context.function is None: func = 'none' else: