yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06059
[Bug 1232175] Re: DataSourceAzure is not compatible with python 2.6
fixed in 0.7.4
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1232175
Title:
DataSourceAzure is not compatible with python 2.6
Status in Init scripts for use on cloud images:
Fix Released
Bug description:
cloudinit/sources/DataSourceAzure.py : 398 uses dict comprehension
which is not available prior to python 2.7.
attrs = {k: v for k, v in child.attributes.items()}
must be changed to
attrs = dict([(k, v) for k, v in child.attributes.items()])
or event to
attrs = child.attributes
in case child.attributes is a python dict (haven't checked actual
types)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1232175/+subscriptions