From 8755582ef1f5e5af95e162faa772c94c9baa6f33 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 7 Aug 1995 20:13:56 +0000 Subject: add seekable option to __init__ --- Lib/mimetools.py | 4 ++-- 1 file 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 = \ -- cgit v0.12