summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-22 14:36:02 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-22 14:36:02 -0400
commitcb740b3018f55c21bda3a38b216d4ed61ab30d42 (patch)
tree74113e0fa5ecd8ec99bd4e4342bf127552c3e49f /cloudinit/distros
parent0bc9f3aad55b6b1d50f80ef1b1688c2ceb1c8a84 (diff)
downloadvyos-cloud-init-cb740b3018f55c21bda3a38b216d4ed61ab30d42.tar.gz
vyos-cloud-init-cb740b3018f55c21bda3a38b216d4ed61ab30d42.zip
fix for pep8 issues and seemingly functional now.
Diffstat (limited to 'cloudinit/distros')
-rw-r--r--cloudinit/distros/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 62728a53..dce8fd06 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -209,6 +209,7 @@ def _get_package_mirror_info(mirror_info, availability_zone=None,
return results
+
def _get_arch_package_mirror_info(package_mirrors, arch):
# pull out the specific arch from a 'package_mirrors' config option
default = None
@@ -220,6 +221,7 @@ def _get_arch_package_mirror_info(package_mirrors, arch):
default = item
return default
+
def fetch(name):
locs = importer.find_module(name,
['', __name__],