From 799f4affcd55cd01a019c45ce06b0c8dc45e3978 Mon Sep 17 00:00:00 2001 From: Paul Rodger Date: Wed, 30 Oct 2002 23:51:08 +0000 Subject: [PATCH] Removed a test rule that says we can confidently archive messages older than the unix epoch. (New versions of python return OverFlow error instead) --- CHANGELOG | 5 +++++ Makefile | 2 +- TODO | 1 + archivemail.py | 2 +- setup.py | 2 +- test_archivemail.py | 4 ---- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3bba92b..184e305 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) diff --git a/Makefile b/Makefile index 173dbc8..6ccb413 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION=0.6.0 +VERSION=0.6.1 VERSION_TAG=v$(subst .,_,$(VERSION)) TARFILE=archivemail-$(VERSION).tar.gz diff --git a/TODO b/TODO index ba65734..ab7286e 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/archivemail.py b/archivemail.py index 4b2d069..3ec7d04 100755 --- a/archivemail.py +++ b/archivemail.py @@ -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 This is free software; see the source for copying conditions. There is NO diff --git a/setup.py b/setup.py index 07f3628..dfb5e79 100755 --- a/setup.py +++ b/setup.py @@ -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/", diff --git a/test_archivemail.py b/test_archivemail.py index 96f0cf6..788a866 100755 --- a/test_archivemail.py +++ b/test_archivemail.py @@ -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',