]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
context: reuse base oslo.context class for to_dict()
authorIhar Hrachyshka <ihrachys@redhat.com>
Sat, 28 Feb 2015 12:48:18 +0000 (13:48 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Fri, 10 Apr 2015 16:14:53 +0000 (18:14 +0200)
commit52cd81934b6a64bda80a140446d8895413789221
tree7d022804c6c1279089c80eb4abf19f41dc0f3523
parent9c0f00a0a7b7b8b794b4858eb7f635fe2eba560c
context: reuse base oslo.context class for to_dict()

It is need to conform to expectations of consumers that rely on
oslo.context behaviour (f.e. oslo.log that relies [1] on user_identity
field being set for context objects).

[1]: https://github.com/openstack/oslo.log/blob/master/oslo_log/_options.py#L99

Closes-Bug: #1433687
Change-Id: I95e803b96e6e3e5b8c12298dc6327b974330c639
neutron/context.py