Home | History | Annotate | Download | only in email

Lines Matching refs:lines

55         # The list of full, pushed lines, in reverse order
101 # Crack into lines, but preserve the newlines on the end of each
113 # and the eol character(s). Gather up a list of lines after
115 lines = []
117 lines.append(parts[i*2] + parts[i*2+1])
118 self.pushlines(lines)
120 def pushlines(self, lines):
121 # Reverse and insert at the front of the lines.
122 self._lines[:0] = lines[::-1]
220 # remaining lines in the input are thrown into the message body.
222 lines = []
230 lines.append(line)
231 self._cur.set_payload(EMPTYSTRING.join(lines))
290 lines = []
295 lines.append(line)
296 self._cur.set_payload(EMPTYSTRING.join(lines))
339 # multiple boundary lines that may be following. Our
425 lines = []
430 lines.append(line)
431 self._cur.set_payload(EMPTYSTRING.join(lines))
433 def _parse_headers(self, lines):
434 # Passed a list of lines that make up the headers for the current msg
437 for lineno, line in enumerate(lines):
450 # XXX reconsider the joining of folded lines
463 elif lineno == len(lines) - 1:
483 # Done with all the lines, so handle the last header.
485 # XXX reconsider the joining of folded lines