You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2018/02/23 11:20:10 UTC
[incubator-ponymail] branch master updated: No longer used: code is
in generators.py
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git
The following commit(s) were added to refs/heads/master by this push:
new 19562aa No longer used: code is in generators.py
19562aa is described below
commit 19562aa2e25c9f8880237fdb378b3ee328bdccb0
Author: Sebb <se...@apache.org>
AuthorDate: Fri Feb 23 11:20:08 2018 +0000
No longer used: code is in generators.py
---
tools/archiver.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/archiver.py b/tools/archiver.py
index 0a9010f..57d7a6c 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -302,10 +302,8 @@ class Archiver(object): # N.B. Also used by import-mbox.py
except Exception as err:
print("Could not decode headers, ignoring..: %s" % err)
mdate = None
- uid_mdate = 0 # mdate for UID generation
try:
mdate = email.utils.parsedate_tz(msg_metadata.get('date'))
- uid_mdate = email.utils.mktime_tz(mdate) # Only set if Date header is valid
except:
pass
if not mdate and msg_metadata.get('archived-at'):
--
To stop receiving notification emails like this one, please contact
sebb@apache.org.