From 0cd400298066275017c47dc0ddab2debbdd61537 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 4 Dec 2020 19:58:50 +0100 Subject: Fix warning filter --- qutebrowser/misc/earlyinit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- cgit v1.2.3-54-g00ecf