diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-10-17 16:42:53 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-10-17 16:42:53 -0400 |
commit | 85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9 (patch) | |
tree | 69c1e8cebb5552c1949eb1e28af73c62279298a7 /cloudinit/sources | |
parent | 16a2bff998f6553ac13b7f0acaf6c0f24feecc83 (diff) | |
download | vyos-cloud-init-85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9.tar.gz vyos-cloud-init-85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9.zip |
fix DataSourceAzure incompatibility with 2.6
LP: #1232175
Diffstat (limited to 'cloudinit/sources')
-rw-r--r-- | cloudinit/sources/DataSourceAzure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index 8321dee0..b18c57e7 100644 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -410,7 +410,7 @@ def read_azure_ovf(contents): simple = True value = child.childNodes[0].wholeText - attrs = {k: v for k, v in child.attributes.items()} + attrs = dict([(k, v) for k, v in child.attributes.items()]) # we accept either UserData or CustomData. If both are present # then behavior is undefined. |