summaryrefslogtreecommitdiff
path: root/mail/pygmy
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-11 17:28:37 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-11 17:28:37 +0000
commit73785ad35f151bc42592fd53c61a7e6b7aa10783 (patch)
tree629d6821cb6342c8d7195538545688fa48a2b86c /mail/pygmy
parentUpdate to 0.5.7. (diff)
OOPS, forgot to cvs rm patches already integrated into mainline.
Notes
Notes: svn path=/head/; revision=42531
Diffstat (limited to 'mail/pygmy')
-rw-r--r--mail/pygmy/files/patch-folderops.py28
-rw-r--r--mail/pygmy/files/patch-pygmymailbox.py26
2 files changed, 0 insertions, 54 deletions
diff --git a/mail/pygmy/files/patch-folderops.py b/mail/pygmy/files/patch-folderops.py
deleted file mode 100644
index ab21aff2ec6e..000000000000
--- a/mail/pygmy/files/patch-folderops.py
+++ /dev/null
@@ -1,28 +0,0 @@
-
-$FreeBSD$
-
---- folderops.py 2001/05/04 21:59:28 1.1
-+++ folderops.py 2001/05/04 22:14:52
-@@ -295,7 +295,7 @@
- ##
- ##
- def create_folder_index(pathname, start=0):
-- import pygmymailbox, time, marshal, os, string, mimify
-+ import pygmymailbox, time, marshal, os, string, mimify, rfc822
- from string import replace, join
- from posixpath import split
-
-@@ -342,11 +342,11 @@
- subject = replace(subject, '\n', '')
- subject = replace(subject, '\r', '')
- # Get the Date: field
-- date = m.getdate('date') or ""
-+ date = m.getdate_tz('date') or ""
- if date != "":
- # Convert to epoch value
- try:
-- date = time.mktime(date)
-+ date = rfc822.mktime_tz(date)
- except:
- date = time.time()
- else:
diff --git a/mail/pygmy/files/patch-pygmymailbox.py b/mail/pygmy/files/patch-pygmymailbox.py
deleted file mode 100644
index c3be01d52553..000000000000
--- a/mail/pygmy/files/patch-pygmymailbox.py
+++ /dev/null
@@ -1,26 +0,0 @@
-
-$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