From 85d4fff9f7f7e8ffadca91258a25b5d2b3f43fd9 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 17 Oct 2013 16:42:53 -0400 Subject: fix DataSourceAzure incompatibility with 2.6 LP: #1232175 --- cloudinit/sources/DataSourceAzure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/sources') 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. -- cgit v1.2.3