mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
OOPS, forgot to cvs rm patches already integrated into mainline.
This commit is contained in:
parent
ea088e2dee
commit
73785ad35f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42531
@ -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:
|
@ -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
|
Loading…
Reference in New Issue
Block a user