diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:58:50 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:58:50 +0100 |
commit | 0cd400298066275017c47dc0ddab2debbdd61537 (patch) | |
tree | 781dccd15c5773db7310d861d8f87a60e0197e0f | |
parent | eb8936160b356257f870052d3ad0fca76d2971ad (diff) | |
download | qutebrowser-0cd400298066275017c47dc0ddab2debbdd61537.tar.gz qutebrowser-0cd400298066275017c47dc0ddab2debbdd61537.zip |
Fix warning filter
-rw-r--r-- | qutebrowser/misc/earlyinit.py | 2 |
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', |