Removed a test rule that says we can confidently archive messages

older than the unix epoch. (New versions of python return OverFlow
error instead)
This commit is contained in:
Paul Rodger 2002-10-30 23:51:08 +00:00
parent 6a91347b88
commit 799f4affcd
6 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,9 @@
Version 0.6.1 - 3 October 2002
* Removed a test rule that we could archive messages older than the
Unix epoch. Newer versions of python now give an overflow error calling
mktime() on dates < 1970 instead of returning a negative number.
Version 0.6.0 - 3 October 2002
* Added IMAP mailbox support. (Thanks Mark Roach)

View File

@ -1,5 +1,5 @@
VERSION=0.6.0
VERSION=0.6.1
VERSION_TAG=v$(subst .,_,$(VERSION))
TARFILE=archivemail-$(VERSION).tar.gz

1
TODO
View File

@ -1,6 +1,7 @@
Goals for next minor release
-------------------------------------
* .archivemailrc support
* When you get a file-not-found in the 6th mailbox of 10, it aborts the whole
run. Better to fail gracefully and keep going.
* Think about the best way to specify the names of archives created with

View File

@ -22,7 +22,7 @@ Website: http://archivemail.sourceforge.net/
"""
# global administrivia
__version__ = "archivemail v0.6.0"
__version__ = "archivemail v0.6.1"
__cvs_id__ = "$Id$"
__copyright__ = """Copyright (C) 2002 Paul Rodger <paul@paulrodger.com>
This is free software; see the source for copying conditions. There is NO

View File

@ -19,7 +19,7 @@ check_python_version() # define & run this early - 'distutils.core' is new
from distutils.core import setup
setup(name="archivemail",
version="0.6.0",
version="0.6.1",
description="archive and compress old email",
license="GNU GPL",
url="http://archivemail.sourceforge.net/",

View File

@ -494,10 +494,6 @@ This is after the ^From line"""
def testOldWeirdHeaders(self):
"""archiving old mailboxes with weird headers"""
weird_headers = (
{ # we should archive even though date < epoch
'From_' : 'sender@dummy.domain Sat Feb 09 02:35:07 1962',
'Date' : 'Fri, 08 Feb 1962 07:22:54 -0500',
},
{ # we should archive because of the date on the 'From_' line
'From_' : 'sender@dummy.domain Fri Jul 28 16:11:36 2000',
'Date' : 'Friskhdfkjkh, 28 Jul 2002 1line noise6:11:36 +1000',