equal
deleted
inserted
replaced
107 yield c |
107 yield c |
108 |
108 |
109 def mimesplit(stream, cur): |
109 def mimesplit(stream, cur): |
110 def msgfp(m): |
110 def msgfp(m): |
111 fp = stringio() |
111 fp = stringio() |
|
112 # pytype: disable=wrong-arg-types |
112 g = mail.Generator(fp, mangle_from_=False) |
113 g = mail.Generator(fp, mangle_from_=False) |
|
114 # pytype: enable=wrong-arg-types |
113 g.flatten(m) |
115 g.flatten(m) |
114 fp.seek(0) |
116 fp.seek(0) |
115 return fp |
117 return fp |
116 |
118 |
117 for line in stream: |
119 for line in stream: |