yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42179
[Bug 1499038] Re: More explicit way of checking presence of image metadata in api/v1/images.py
** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1499038
Title:
More explicit way of checking presence of image metadata in
api/v1/images.py
Status in Glance:
Fix Released
Bug description:
images.py:
if (orig_status == 'active' and image_meta.get(key) is not None
and image_meta.get(key) != orig_image_meta.get(key)):
The checking for the presence of image metadata can be made more
explicit, rather than checking if it is None or not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1499038/+subscriptions
References