diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 13:12:09 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 13:12:09 -0700 |
| commit | 7548aa8ffd46eb6e0f73730d1b2eb515ba581f95 (patch) | |
| tree | 963393779f4c8c33351ea605f708f8da7d9f70bf /django/http/multipartparser.py | |
| parent | 65c4ac3b2434d1828cb76c9f4454fe64e81354ee (diff) | |
More attacking E302 violators
Diffstat (limited to 'django/http/multipartparser.py')
| -rw-r--r-- | django/http/multipartparser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index af0222b423..664a817f37 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -21,9 +21,11 @@ from django.core.files.uploadhandler import StopUpload, SkipFile, StopFutureHand __all__ = ('MultiPartParser', 'MultiPartParserError', 'InputStreamExhausted') + class MultiPartParserError(Exception): pass + class InputStreamExhausted(Exception): """ No more reads are allowed from this device. @@ -36,6 +38,7 @@ FIELD = "field" _BASE64_DECODE_ERROR = TypeError if six.PY2 else binascii.Error + class MultiPartParser(object): """ A rfc2388 multipart/form-data parser. |
