diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-16 12:47:07 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-16 12:47:07 -0500 |
commit | baa79b1d6dc5969fc55b2ced65af075846ebea7a (patch) | |
tree | 3d8bf28f2268b72675df91eb3014037ac78de620 /cloudinit/CloudConfig/cc_apt_update_upgrade.py | |
parent | a0b11d8ba00b48214522adff63ef28a2b40e8efa (diff) | |
download | vyos-cloud-init-baa79b1d6dc5969fc55b2ced65af075846ebea7a.tar.gz vyos-cloud-init-baa79b1d6dc5969fc55b2ced65af075846ebea7a.zip |
fix issue if apt_mirror is provided in config
Diffstat (limited to 'cloudinit/CloudConfig/cc_apt_update_upgrade.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_apt_update_upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py index 5491f3c8..8e95bc33 100644 --- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py +++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py @@ -174,7 +174,7 @@ def find_apt_mirror(cloud, cfg): mirror = None if cfg.has_key("apt_mirror"): - mirror = [cfg["apt_mirror"],] + mirror = cfg["apt_mirror"] elif cfg.has_key("apt_mirror_search"): mirror = util.search_for_mirror(cfg['apt_mirror_search']) else: |