summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qutebrowser/browser/webkit/http.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/browser/webkit/http.py b/qutebrowser/browser/webkit/http.py
index a38cd358a..f289d10ab 100644
--- a/qutebrowser/browser/webkit/http.py
+++ b/qutebrowser/browser/webkit/http.py
@@ -93,10 +93,10 @@ class ContentDisposition:
# Fixed in Python 3.7.5 and 3.8.0.
# Still getting failures on 3.10 on CI though
raise ContentDispositionError("Missing closing quote character")
- except ValueError: # pragma: no cover
+ except ValueError:
# WORKAROUND for https://github.com/python/cpython/issues/87112
raise ContentDispositionError("Non-ASCII digit")
- except AttributeError:
+ except AttributeError: # pragma: no cover
# WORKAROUND for https://github.com/python/cpython/issues/93010
raise ContentDispositionError("Section number has an invalid leading 0")