Commit 39e250fb authored by Sunil Mohan Adapa's avatar Sunil Mohan Adapa Committed by Joseph Nuthalapati

letsencrypt: Remove deprecated logger.warn

Signed-off-by: Sunil Mohan Adapa's avatarSunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <njoseph@thoughtworks.com>
parent 486f91d1
......@@ -158,7 +158,7 @@ def on_domain_removed(sender, domain_type, name='', **kwargs):
try_action(name, 'revoke')
return True
except ActionError as exception:
logger.warn(
logger.warning(
('Failed to revoke certificate for domain {domain}: {error}'
).format(domain=name, error=exception.args[2]))
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment