From 3125b69d194309464ef0abcaa4f915ff4cf4316f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 25 Apr 2017 06:43:31 +0200 Subject: [PATCH] Fix no-cover pragma --- qutebrowser/browser/webkit/cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/webkit/cache.py b/qutebrowser/browser/webkit/cache.py index 4f96b6528..be7dba486 100644 --- a/qutebrowser/browser/webkit/cache.py +++ b/qutebrowser/browser/webkit/cache.py @@ -54,8 +54,8 @@ class DiskCache(QNetworkDiskCache): if size is None: size = 1024 * 1024 * 50 # default from QNetworkDiskCachePrivate # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-59909 - if (qtutils.version_check('5.7.1') and # pragma: no cover - not qtutils.version_check('5.9')): + if (qtutils.version_check('5.7.1') and + not qtutils.version_check('5.9')): # pragma: no cover size = 0 self.setMaximumCacheSize(size)