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 | |
parent | 16a2bff998f6553ac13b7f0acaf6c0f24feecc83 (diff) | |
download | vyos-cloud-init-85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9.tar.gz vyos-cloud-init-85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9.zip |
fix DataSourceAzure incompatibility with 2.6
LP: #1232175
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceAzure.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ - fix issue mounting 'ephemeral0' if ephemeral0 was an alias for a partitioned block device with target filesystem on ephemeral0.1. (LP: #1236594) + - fix DataSourceAzure incompatibility with 2.6 (LP: #1232175) 0.7.3: - fix omnibus chef installer (LP: #1182265) [Chris Wing] - small fix for OVF datasource for iso transport on non-iso9660 filesystem 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. |