summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-24 19:06:55 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-24 19:06:55 +0200
commitc2cfbd6831912e6dfd6b16ed21afb929592ce51a (patch)
tree02d09821351ede083c2c7864b41f84c40d646dbb /cloudinit/config
parent2a20382249c35f368f931dc2bcd8225ea1fc4e84 (diff)
downloadvyos-cloud-init-c2cfbd6831912e6dfd6b16ed21afb929592ce51a.tar.gz
vyos-cloud-init-c2cfbd6831912e6dfd6b16ed21afb929592ce51a.zip
pacify pep8 regarding the new changes
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 02b16336..ffbf7513 100644
--- a/cloudinit/config/cc_apt_configure.py
+++ b/cloudinit/config/cc_apt_configure.py
@@ -197,6 +197,7 @@ def add_key(ent):
if 'key' in ent:
add_key_raw(ent['key'])
+
def convert_to_new_format(srclist, errorlist):
""" convert_to_new_format
convert the old list based format to the new dict based one
@@ -226,6 +227,7 @@ def convert_to_new_format(srclist, errorlist):
return srcdict
+
def add_sources(srclist, template_params=None, aa_repo_match=None):
"""
add entries in /etc/apt/sources.list.d for each abbreviated