summaryrefslogtreecommitdiff
path: root/cloudinit/gpg.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/gpg.py')
-rw-r--r--cloudinit/gpg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/gpg.py b/cloudinit/gpg.py
index 70c620de..d58d73e0 100644
--- a/cloudinit/gpg.py
+++ b/cloudinit/gpg.py
@@ -43,7 +43,7 @@ def delete_key(key):
util.subp(["gpg", "--batch", "--yes", "--delete-keys", key],
capture=True)
except util.ProcessExecutionError as error:
- LOG.warn('Failed delete key "%s": %s', key, error)
+ LOG.warning('Failed delete key "%s": %s', key, error)
def getkeybyid(keyid, keyserver='keyserver.ubuntu.com'):