summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 21:21:36 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 21:21:36 +0200
commit454de24c7d457b980c91849b128efe4faee62032 (patch)
tree535b30529498129b56a5429b938908d45099ebd1 /cloudinit/config
parent0a407b63f61f48d310d205f833c1a2792273ec80 (diff)
downloadvyos-cloud-init-454de24c7d457b980c91849b128efe4faee62032.tar.gz
vyos-cloud-init-454de24c7d457b980c91849b128efe4faee62032.zip
make pep8 happy with a few spaces
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_apt_configure.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py
index e7b8a9b3..e5a962ac 100644
--- a/cloudinit/config/cc_apt_configure.py
+++ b/cloudinit/config/cc_apt_configure.py
@@ -171,6 +171,7 @@ def generate_sources_list(cfg, codename, mirrors, cloud, log):
templater.render_to_file(template_fn, '/etc/apt/sources.list', params)
+
def add_key_raw(key):
"""
actual adding of a key as defined in key argument
@@ -181,6 +182,7 @@ def add_key_raw(key):
except:
raise Exception('failed add key')
+
def add_key(ent):
"""
add key to the system as defiend in ent (if any)