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:
parent
f43cbb106d
commit
a9215463c4
1 changed files with 0 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue