ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: pylint: logging.warn is deprecated => warning
Date Thu, 24 May 2018 15:59:04 GMT
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 88bcc1d  pylint: logging.warn is deprecated => warning
88bcc1d is described below

commit 88bcc1d64ebad7c71093484c3a516eef94fdb73b
Author: Sebb <sebb@apache.org>
AuthorDate: Thu May 24 16:59:03 2018 +0100

    pylint: logging.warn is deprecated => warning
---
 tools/archiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index bf914e8..06d3bd1 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -345,7 +345,7 @@ class Archiver(object): # N.B. Also used by import-mbox.py
                     mid = generators.legacy(msg, body, lid, attachments)
             except Exception as err:
                 if logger:
-                    logger.warn("Could not generate MID: %s", err)
+                    logger.warning("Could not generate MID: %s", err)
                 mid = pmid
             if 'in-reply-to' in msg_metadata:
                 try:

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

Mime
View raw message