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/26 23:44:02 UTC

[incubator-ponymail] branch master updated: Misplaced closing parenthesis

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 590db3a  Misplaced closing parenthesis
590db3a is described below

commit 590db3a4d94096c43bdaca4abcb2c96e18271aed
Author: Sebb <se...@apache.org>
AuthorDate: Mon Feb 26 23:44:00 2018 +0000

    Misplaced closing parenthesis
---
 tools/archiver.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index 3163a4a..ed63efa 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -314,8 +314,8 @@ class Archiver(object): # N.B. Also used by import-mbox.py
             mdate = mdate + (0, ) # Fake a TZ (10th element)
 
         # mdate calculations are all done, prepare the index entry
-        epoch = email.utils.mktime_tz(mdate))
-        mdatestring = time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime(epoch)
+        epoch = email.utils.mktime_tz(mdate)
+        mdatestring = time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime(epoch))
         body = self.msgbody(msg)
         try:
             if 'content-type' in msg_metadata and msg_metadata['content-type'].find("flowed") != -1:

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.