When creating an oslo.context we inspected the __init__ string to figure
out if roles were part of the context. This was added in oslo.context
2.2 and there needed to be compatibility between old and new.
Now that requirements specify oslo.context >= 2.9 we don't need this
clause any more, and it is causing release issues with older versions of
positional.
Remove the inspection and rely on newer versions of oslo.context.
Reviewed: https:/ /review. openstack. org/369092 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=6c814fefbc0 62b2643b52bb528 1743b482f6ea9c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6c814fefbc062b2 643b52bb5281743 b482f6ea9c
Author: Jamie Lennox <email address hidden>
Date: Tue Sep 13 10:44:38 2016 +1000
Don't inspect oslo.context
When creating an oslo.context we inspected the __init__ string to figure
out if roles were part of the context. This was added in oslo.context
2.2 and there needed to be compatibility between old and new.
Now that requirements specify oslo.context >= 2.9 we don't need this
clause any more, and it is causing release issues with older versions of
positional.
Remove the inspection and rely on newer versions of oslo.context.
Closes-Bug: #1620963 5b50e26d9dee0e0 df2f1e6cf72
Change-Id: I2fcb4f1718ae5e