summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceMAAS.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 07:39:42 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 07:39:42 -0700
commit27e780535eedf7c7a2493c6d1b41e7898bf3d62f (patch)
tree2d3bb3594735108e208a159db986629edccde093 /cloudinit/sources/DataSourceMAAS.py
parent611d0cdecbf7b15713824be484e8e91ca889839d (diff)
downloadvyos-cloud-init-27e780535eedf7c7a2493c6d1b41e7898bf3d62f.tar.gz
vyos-cloud-init-27e780535eedf7c7a2493c6d1b41e7898bf3d62f.zip
Some simple fixes that will make the python 3 translation easier
Diffstat (limited to 'cloudinit/sources/DataSourceMAAS.py')
-rw-r--r--cloudinit/sources/DataSourceMAAS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceMAAS.py b/cloudinit/sources/DataSourceMAAS.py
index 9e639649..40ace947 100644
--- a/cloudinit/sources/DataSourceMAAS.py
+++ b/cloudinit/sources/DataSourceMAAS.py
@@ -204,7 +204,7 @@ def check_seed_contents(content, seed):
if len(content) == 0:
raise MAASSeedDirNone("%s: no data files found" % seed)
- found = content.keys()
+ found = list(content.keys())
missing = [k for k in md_required if k not in found]
if len(missing):
raise MAASSeedDirMalformed("%s: missing files %s" % (seed, missing))