summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig')
-rw-r--r--cloudinit/CloudConfig/cc_apt_update_upgrade.py2
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: