aboutsummaryrefslogtreecommitdiff
path: root/mail/pygmy/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-04 21:25:07 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-04 21:25:07 +0000
commitdd85694bb4fdd0d68574a5b609e8e026c8a16a4e (patch)
tree74634916c304602479b02cbc5efc5ac34c7474bc /mail/pygmy/files
parent7e1bb965fb5f091431f71daf2d06dd4400daee9b (diff)
Notes
Diffstat (limited to 'mail/pygmy/files')
-rw-r--r--mail/pygmy/files/patch-pygmymailbox.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/pygmy/files/patch-pygmymailbox.py b/mail/pygmy/files/patch-pygmymailbox.py
new file mode 100644
index 000000000000..c3be01d52553
--- /dev/null
+++ b/mail/pygmy/files/patch-pygmymailbox.py
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- pygmymailbox.py 2001/05/04 20:56:16 1.1
++++ pygmymailbox.py 2001/05/04 21:07:51
+@@ -1,7 +1,7 @@
+ ## $Id: pygmymailbox.py,v 1.1 2001/05/04 20:56:16 root Exp root $
+
+ ## System Modules
+-import mailbox
++import mailbox, rfc822
+
+
+ ##
+@@ -11,9 +11,10 @@
+ ##
+ class PygmyMailbox(mailbox.UnixMailbox):
+ # Have to include the seek-start parameter here
+- def __init__(self, fp, start=0):
++ def __init__(self, fp, start=0, factory=rfc822.Message):
+ self.fp = fp
+ self.seekp = start
++ self.factory = factory
+
+ # Current start index in file
+ cur_start = 0