A couple of pylint changes

This commit is contained in:
Michael Lazar
2017-03-28 23:18:13 -07:00
parent e37904fba5
commit 13e9fd9b10
5 changed files with 5 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ class Terminal(object):
except Exception as e:
# If Imgur decides to change its html layout, let it fail
# silently in the background instead of crashing.
_logger.warn('parser %s raised an exception', parser)
_logger.warning('parser %s raised an exception', parser)
_logger.exception(e)
raise exceptions.MailcapEntryNotFound()
if not content_type: