]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Context: Remove logic for read_deleted and deprecate it
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 28 Apr 2015 11:59:35 +0000 (04:59 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 9 Jun 2015 20:50:03 +0000 (13:50 -0700)
commit6886655b491aede40aa9f4a0bd4c6d402d5a7a78
treeae92321ea4be8eea2921e4fe65a8c7bd539a0899
parent185a761624e47d29797c1aab132930f4180ff6bf
Context: Remove logic for read_deleted and deprecate it

The read_deleted parameter in the Context object is simply unused.
This patch removes associated logic, and for what is worth, adds
deprecation warnings against explicit usage of read_deleted when
creating a context instance, generate an admin context, and
elevating a context instance.

Change-Id: Ic69d22dc229ebe8fac1f6be0c4860d19732505b1
Closes-Bug: #1449462
neutron/context.py
neutron/tests/functional/db/test_ipam.py
neutron/tests/unit/_test_extension_portbindings.py