ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Don't use 'foo' as a name
Date Wed, 16 Nov 2016 18:36:28 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 8b86f187d -> ce8999ffe


Don't use 'foo' as a name

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/ce8999ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/ce8999ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/ce8999ff

Branch: refs/heads/master
Commit: ce8999ffec6a597c555a71b69b7b26d32dab3e08
Parents: 8b86f18
Author: Sebb <sebb@apache.org>
Authored: Wed Nov 16 18:36:03 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Wed Nov 16 18:36:03 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/ce8999ff/tools/archiver.py
----------------------------------------------------------------------
diff --git a/tools/archiver.py b/tools/archiver.py
index 60339fc..8099945 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -527,7 +527,7 @@ if __name__ == '__main__':
         logging.getLogger("elasticsearch").setLevel(logging.ERROR)
 
         
-    foo = Archiver(parseHTML = parseHTML)
+    archie = Archiver(parseHTML = parseHTML)
     input_stream = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8', errors="ignore")
     
     try:
@@ -603,7 +603,7 @@ if __name__ == '__main__':
             msg_metadata = namedtuple('importmsg', ['list_id', 'archive_public'])(list_id
= msg.get('list-id'), archive_public=ispublic)
             
             try:
-                lid, mid = foo.archive_message(msg_metadata, msg)
+                lid, mid = archie.archive_message(msg_metadata, msg)
                 print("%s: Done archiving to %s as %s!" % (email.utils.formatdate(), lid,
mid))
             except Exception as err:
                 if args.verbose:


Mime
View raw message