summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-12-04 19:58:50 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-12-04 19:58:50 +0100
commit0cd400298066275017c47dc0ddab2debbdd61537 (patch)
tree781dccd15c5773db7310d861d8f87a60e0197e0f
parenteb8936160b356257f870052d3ad0fca76d2971ad (diff)
downloadqutebrowser-0cd400298066275017c47dc0ddab2debbdd61537.tar.gz
qutebrowser-0cd400298066275017c47dc0ddab2debbdd61537.zip
Fix warning filter
-rw-r--r--qutebrowser/misc/earlyinit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py
index 775cba73c..f753a303c 100644
--- a/qutebrowser/misc/earlyinit.py
+++ b/qutebrowser/misc/earlyinit.py
@@ -219,7 +219,7 @@ def _check_modules(modules):
), log.ignore_py_warnings(
category=DeprecationWarning,
message=r'the imp module is deprecated',
- ), log.py_warning_filter(
+ ), log.ignore_py_warnings(
# WORKAROUND for https://github.com/pypa/setuptools/issues/2466
category=DeprecationWarning,
message=r'Creating a LegacyVersion has been deprecated',