Remove use of contextlib.nested
Bug #1428424 reported by
ChangBo Guo(gcb)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Sean McGinnis | ||
Glance |
Fix Released
|
Undecided
|
ChangBo Guo(gcb) | ||
OpenStack Compute (nova) |
Fix Released
|
Low
|
Davanum Srinivas (DIMS) | ||
neutron |
Fix Released
|
Undecided
|
Ankit Agrawal |
Bug Description
The contextlib.nested call has been deprecated
in Python 2.7. This causes DeprecationWarning
messages in the unit tests.
There are also known issues with contextlib.nested
that were addressed by the native support for
multiple "with" variables. For instance, if the
first object is created but the second one throws
an exception, the first object's __exit__ is never
called. For more information see
https:/
contextlib.
Changed in nova: | |
assignee: | nobody → ChangBo Guo(gcb) (glongwave) |
Changed in glance: | |
assignee: | nobody → ChangBo Guo(gcb) (glongwave) |
Changed in cinder: | |
assignee: | nobody → Sean McGinnis (sean-mcginnis) |
status: | New → In Progress |
Changed in glance: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Low |
Changed in neutron: | |
assignee: | nobody → Ankit Agrawal (ankitagrawal) |
Changed in cinder: | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | kilo-rc1 → 2015.1.0 |
Changed in cinder: | |
milestone: | kilo-rc1 → 2015.1.0 |
Changed in neutron: | |
status: | In Progress → Fix Released |
Changed in neutron: | |
assignee: | Trinath Somanchi (trinath-somanchi) → Ankit Agrawal (ankitagrawal) |
Changed in neutron: | |
status: | Fix Released → In Progress |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
Changed in nova: | |
assignee: | ChangBo Guo(gcb) (glongwave) → Davanum Srinivas (DIMS) (dims-v) |
status: | In Progress → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/161540
Review: https:/