summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_apt_configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py
index 327b543e..a25d6af1 100644
--- a/cloudinit/config/cc_apt_configure.py
+++ b/cloudinit/config/cc_apt_configure.py
@@ -241,7 +241,7 @@ def add_sources(srclist, template_params=None, aa_repo_match=None):
for filename in srcdict:
ent = srcdict[filename]
if 'filename' not in ent:
- ent[filename] = filename
+ ent['filename'] = filename
# keys can be added without specifying a source
try: