Commit 0eae3ce0 authored by Guido van Rossum's avatar Guido van Rossum

add seekable option to __init__

parent b8612cad
...@@ -12,8 +12,8 @@ import tempfile ...@@ -12,8 +12,8 @@ import tempfile
class Message(rfc822.Message): class Message(rfc822.Message):
def __init__(self, fp): def __init__(self, fp, seekable = 1):
rfc822.Message.__init__(self, fp) rfc822.Message.__init__(self, fp, seekable)
self.encodingheader = \ self.encodingheader = \
self.getheader('content-transfer-encoding') self.getheader('content-transfer-encoding')
self.typeheader = \ self.typeheader = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment