Add hacking check for oslo namespace usage
We want to make sure that we don't have usage of the old oslo.concurrency naming slipping in with new changes where we should be using the oslo_concurrency namespace. This change adds a hacking check to avoid use of the deprecated namespace. As we convert more oslo libraries to the new namespace the check will be updated to enforce use of the new namespace. This hacking check is based upon the same N333 hacking check in Cinder. Change-Id: Ibec6d09e9d313c9e723f7542cedb9da5772d3de2
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo.concurrency import processutils
|
||||
from oslo_concurrency import processutils
|
||||
|
||||
from cinder import exception
|
||||
from cinder.i18n import _, _LW, _LE
|
||||
|
||||
Reference in New Issue
Block a user