diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-12-22 18:34:16 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-12-22 19:20:49 +0100 |
commit | c52744a219df9e15103431fc61b2884bae9955f3 (patch) | |
tree | af62b8903e829029f01991431f42f06e99054443 /qutebrowser/components | |
parent | 5ef774bb30d0d05a6424ba6b8d685c14dcf988ca (diff) | |
download | qutebrowser-c52744a219df9e15103431fc61b2884bae9955f3.tar.gz qutebrowser-c52744a219df9e15103431fc61b2884bae9955f3.zip |
Rename adblock component to hostblock
Diffstat (limited to 'qutebrowser/components')
-rw-r--r-- | qutebrowser/components/adblockcommands.py | 4 | ||||
-rw-r--r-- | qutebrowser/components/hostblock.py (renamed from qutebrowser/components/adblock.py) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/components/adblockcommands.py b/qutebrowser/components/adblockcommands.py index 4574650d3..e507a2b5c 100644 --- a/qutebrowser/components/adblockcommands.py +++ b/qutebrowser/components/adblockcommands.py @@ -20,7 +20,7 @@ """Commands relating to ad blocking.""" from qutebrowser.api import cmdutils -from qutebrowser.components import braveadblock, adblock +from qutebrowser.components import braveadblock, hostblock @cmdutils.register() @@ -28,4 +28,4 @@ def adblock_update() -> None: """Update block lists for both the host- and the Brave ad blocker.""" if braveadblock.ad_blocker is not None: braveadblock.ad_blocker.adblock_update() - adblock.host_blocker.adblock_update() + hostblock.host_blocker.adblock_update() diff --git a/qutebrowser/components/adblock.py b/qutebrowser/components/hostblock.py index e1ef88667..e1ef88667 100644 --- a/qutebrowser/components/adblock.py +++ b/qutebrowser/components/hostblock.py |