aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.py
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2007-11-13 00:36:51 +0000
committerNikolaus Schulz <microschulz@web.de>2007-11-13 00:36:51 +0000
commit5178c956bc83422311d09c4f662c25bd240ba561 (patch)
treefab6f65c090b9c858d73ff909aa9bdfc5773aaab /archivemail.py
parentd9ffaf4a3b4c13eeaad53bf4b8a6fda48a7eee06 (diff)
downloadarchivemail-5178c956bc83422311d09c4f662c25bd240ba561.tar.gz
archivemail-5178c956bc83422311d09c4f662c25bd240ba561.tar.bz2
archivemail-5178c956bc83422311d09c4f662c25bd240ba561.zip
!%&$*# Repair previous broken commit where an unrelated hunk slipped through.
Reverted that hunk.
Diffstat (limited to 'archivemail.py')
-rwxr-xr-xarchivemail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archivemail.py b/archivemail.py
index ae204cc..0427336 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -779,7 +779,7 @@ def guess_delivery_time(message):
# get more desparate as we go through the array
for header in ('Delivery-date', 'Date', 'Resent-Date'):
try:
- date = message.getdate_tz(header)
+ date = message.getdate(header)
if date:
time_message = time.mktime(date)
vprint("using valid time found from '%s' header" % header)