From 892f3b7a8fe0c44cc8fa65d8465b5e025f0b815e Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Tue, 15 Aug 2017 17:24:05 +0200 Subject: [PATCH] Make badmultipart an IOError. --- wrw/form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrw/form.py b/wrw/form.py index 7905dc6..d39d4dd 100644 --- a/wrw/form.py +++ b/wrw/form.py @@ -16,7 +16,7 @@ def formparse(req): buf.update(urllib.parse.parse_qsl(rbody.decode("latin1"))) return buf -class badmultipart(Exception): +class badmultipart(IOError): pass class formpart(object): -- 2.11.0