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/05/24 15:59:04 UTC

[incubator-ponymail] branch master updated: pylint: logging.warn is deprecated => warning

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 <se...@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.