From 1a0c6964e3932ca817253e35fbdde37e998952aa Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 18 Sep 2018 20:25:58 +0200 Subject: [PATCH] Fix lint --- qutebrowser/browser/adblock.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/browser/adblock.py b/qutebrowser/browser/adblock.py index d0967ac8e..03f0f87a7 100644 --- a/qutebrowser/browser/adblock.py +++ b/qutebrowser/browser/adblock.py @@ -27,7 +27,7 @@ import zipfile from qutebrowser.browser import downloads from qutebrowser.config import config -from qutebrowser.utils import objreg, standarddir, log, message, urlmatch +from qutebrowser.utils import objreg, standarddir, log, message from qutebrowser.commands import cmdutils @@ -61,10 +61,10 @@ def get_fileobj(byte_io): def is_whitelisted_url(url): - """Check if the given url is on the adblock whitelist. + """Check if the given URL is on the adblock whitelist. Args: - url: The url to check in QUrl form. + url: The URL to check as QUrl. """ for pattern in config.val.content.host_blocking.whitelist: if pattern.matches(url):