aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.py
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2008-03-15 20:34:52 +0000
committerNikolaus Schulz <microschulz@web.de>2008-03-15 20:34:52 +0000
commita9215463c4c9467b1430556eae3241432c677c21 (patch)
treeefb4d60dde030c8a08258157fe8e2c9b3d6b37b1 /archivemail.py
parentf43cbb106d81ba3f595f5f1c3540f21bcf204471 (diff)
downloadarchivemail-a9215463c4c9467b1430556eae3241432c677c21.tar.gz
archivemail-a9215463c4c9467b1430556eae3241432c677c21.tar.bz2
archivemail-a9215463c4c9467b1430556eae3241432c677c21.zip
Removed an assertion which choked upon --days=0.
Diffstat (limited to 'archivemail.py')
-rwxr-xr-xarchivemail.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/archivemail.py b/archivemail.py
index 3402e8f..baed5d9 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -1049,10 +1049,7 @@ def is_older_than_days(time_message, max_days):
time_message -- the delivery date of the message measured in seconds
since the epoch
max_days -- maximum number of days before message is considered old
-
"""
- assert(max_days >= 1)
-
time_now = time.time()
if time_message > time_now:
vprint("warning: message has date in the future")