Make badmultipart an IOError.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 15 Aug 2017 15:24:05 +0000 (17:24 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 15 Aug 2017 15:24:05 +0000 (17:24 +0200)
wrw/form.py

index 7905dc6..d39d4dd 100644 (file)
@@ -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):