diff options
author | Guido van Rossum <guido@python.org> | 1995-08-07 20:13:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-07 20:13:56 (GMT) |
commit | 8755582ef1f5e5af95e162faa772c94c9baa6f33 (patch) | |
tree | f682f66e79dc0ecd4e58630ff8ace6b2cef062ee /Lib/mimetools.py | |
parent | 65ab98c42788057488cd923f7cc0b0c6373c05e3 (diff) | |
download | cpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.zip cpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.tar.gz cpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.tar.bz2 |
add seekable option to __init__
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r-- | Lib/mimetools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py index 2844fa4..71d0087 100644 --- a/Lib/mimetools.py +++ b/Lib/mimetools.py @@ -12,8 +12,8 @@ import tempfile class Message(rfc822.Message): - def __init__(self, fp): - rfc822.Message.__init__(self, fp) + def __init__(self, fp, seekable = 1): + rfc822.Message.__init__(self, fp, seekable) self.encodingheader = \ self.getheader('content-transfer-encoding') self.typeheader = \ |