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 <s...@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
s...@apache.org.

Reply via email to