aboutsummaryrefslogtreecommitdiffstats
path: root/charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py')
-rw-r--r--charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py b/charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py
index 017a696..db0d86a 100644
--- a/charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py
+++ b/charms/trusty/cassandra/hooks/charmhelpers/fetch/__init__.py
@@ -314,10 +314,6 @@ def add_source(source, key=None):
key_file.flush()
key_file.seek(0)
subprocess.check_call(['apt-key', 'add', '-'], stdin=key_file)
- elif 'http://' in key:
- with NamedTemporaryFile('w+') as key_file:
- subprocess.check_call(['wget', key, '-O-'], stdout=key_file)
- subprocess.check_call(['apt-key', 'add', key_file.name])
else:
# Note that hkp: is in no way a secure protocol. Using a
# GPG key id is pointless from a security POV unless you