diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-12 01:28:37 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-12 01:28:37 +0800 |
commit | b87f3fa9e96ab37ddba36e162ed9b6082aab4aef (patch) | |
tree | f1a46d6dc19265c6476e8cab25551aac452b5299 /mail/pygmy | |
parent | d158b5bbfb46edecc0bec53fc913e868f6bce442 (diff) | |
download | freebsd-ports-gnome-b87f3fa9e96ab37ddba36e162ed9b6082aab4aef.tar.gz freebsd-ports-gnome-b87f3fa9e96ab37ddba36e162ed9b6082aab4aef.tar.zst freebsd-ports-gnome-b87f3fa9e96ab37ddba36e162ed9b6082aab4aef.zip |
OOPS, forgot to cvs rm patches already integrated into mainline.
Diffstat (limited to 'mail/pygmy')
-rw-r--r-- | mail/pygmy/files/patch-folderops.py | 28 | ||||
-rw-r--r-- | mail/pygmy/files/patch-pygmymailbox.py | 26 |
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 |