@@ -129,7 +129,7 @@ def _parsebody(self, container, fp):
129129 # boundary.
130130 separator = '--' + boundary
131131 payload = fp .read ()
132- # We use an RE here because boundaries can have trailing
132+ # We use an RE here because boundaries can have trailing
133133 # whitespace.
134134 mo = re .search (
135135 r'(?P<sep>' + re .escape (separator ) + r')(?P<ws>[ \t]*)' ,
@@ -176,15 +176,15 @@ def _parsebody(self, container, fp):
176176 terminator = len (payload )
177177 # We split the textual payload on the boundary separator, which
178178 # includes the trailing newline. If the container is a
179- # multipart/digest then the subparts are by default message/rfc822
180- # instead of text/plain. In that case, they'll have a optional
181- # block of MIME headers, then an empty line followed by the
179+ # multipart/digest then the subparts are by default message/rfc822
180+ # instead of text/plain. In that case, they'll have a optional
181+ # block of MIME headers, then an empty line followed by the
182182 # message headers.
183183 parts = re .split (
184184 linesep + re .escape (separator ) + r'[ \t]*' + linesep ,
185185 payload [start :terminator ])
186186 for part in parts :
187- if isdigest :
187+ if isdigest :
188188 if part [0 ] == linesep :
189189 # There's no header block so create an empty message
190190 # object as the container, and lop off the newline so
0 commit comments