Use oslo.context instead of incubator code
We should use oslo.context instead of the code from oslo-incubator. Change-Id: I3a1c4d379d20a1afd86a2f2e60d40bc4c7715546
This commit is contained in:
parent
1c16d18ff6
commit
a0e05d5fa8
@ -25,6 +25,7 @@ import os.path
|
||||
import sys
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context
|
||||
try:
|
||||
import oslo.messaging
|
||||
messaging = True
|
||||
@ -35,7 +36,6 @@ from pycadf.audit import api
|
||||
import webob.dec
|
||||
|
||||
from keystonemiddleware.i18n import _LE, _LI
|
||||
from keystonemiddleware.openstack.common import context
|
||||
|
||||
|
||||
_LOG = None
|
||||
|
@ -5,6 +5,7 @@
|
||||
Babel>=1.3
|
||||
iso8601>=0.1.9
|
||||
oslo.config>=1.6.0 # Apache-2.0
|
||||
oslo.context>=0.1.0 # Apache-2.0
|
||||
oslo.i18n>=1.3.0 # Apache-2.0
|
||||
oslo.serialization>=1.2.0 # Apache-2.0
|
||||
oslo.utils>=1.2.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user