yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39189
[Bug 1482586] Re: Dictionary creation could be rewritten as a dictionary literal
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => liberty-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1482586
Title:
Dictionary creation could be rewritten as a dictionary literal
Status in Glance:
Fix Released
Bug description:
There are several places where dict is created and then initialized
with keys later.
for example.
test_metadef_resourcetypes.py module,
ResourceTypeController->index method.
filters = {}
filter['namespace'] = namespace
could be rewritten as
filters = {'namespace': namespace}
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482586/+subscriptions
References