summaryrefslogtreecommitdiff
path: root/django/http/multipartparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/http/multipartparser.py')
-rw-r--r--django/http/multipartparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py
index 664a817f37..28c0195a48 100644
--- a/django/http/multipartparser.py
+++ b/django/http/multipartparser.py
@@ -127,7 +127,7 @@ class MultiPartParser(object):
self._content_length,
self._boundary,
encoding)
- #Check to see if it was handled
+ # Check to see if it was handled
if result is not None:
return result[0], result[1]
@@ -483,7 +483,7 @@ class BoundaryIter(six.Iterator):
else:
# make sure we dont treat a partial boundary (and
# its separators) as data
- if not chunk[:-rollback]:# and len(chunk) >= (len(self._boundary) + 6):
+ if not chunk[:-rollback]: # and len(chunk) >= (len(self._boundary) + 6):
# There's nothing left, we should just return and mark as done.
self._done = True
return chunk