summaryrefslogtreecommitdiff
path: root/hooks/charmhelpers/fetch/ubuntu.py
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/charmhelpers/fetch/ubuntu.py')
-rw-r--r--hooks/charmhelpers/fetch/ubuntu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/charmhelpers/fetch/ubuntu.py b/hooks/charmhelpers/fetch/ubuntu.py
index 736be71..19aa6ba 100644
--- a/hooks/charmhelpers/fetch/ubuntu.py
+++ b/hooks/charmhelpers/fetch/ubuntu.py
@@ -315,7 +315,7 @@ def import_key(key):
315 cmd = ['apt-key', 'adv', '--keyserver', 315 cmd = ['apt-key', 'adv', '--keyserver',
316 'hkp://keyserver.ubuntu.com:80', '--recv-keys', key] 316 'hkp://keyserver.ubuntu.com:80', '--recv-keys', key]
317 try: 317 try:
318 subprocess.check_call(cmd) 318 _run_with_retries(cmd)
319 except subprocess.CalledProcessError: 319 except subprocess.CalledProcessError:
320 error = "Error importing PGP key '{}'".format(key) 320 error = "Error importing PGP key '{}'".format(key)
321 log(error) 321 log(error)