1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2025-03-12 07:42:50 +00:00

Removed an assertion which choked upon --days=0.

This commit is contained in:
Nikolaus Schulz 2008-03-15 20:34:52 +00:00
parent f43cbb106d
commit a9215463c4

View file

@ -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")