diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:39:42 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:39:42 -0700 |
commit | 27e780535eedf7c7a2493c6d1b41e7898bf3d62f (patch) | |
tree | 2d3bb3594735108e208a159db986629edccde093 /cloudinit/sources/DataSourceMAAS.py | |
parent | 611d0cdecbf7b15713824be484e8e91ca889839d (diff) | |
download | vyos-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.py | 2 |
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)) |