]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Drop deprecated namespace for oslo.rootwrap
authorChangBo Guo(gcb) <eric.guo@easystack.cn>
Sat, 31 Jan 2015 05:42:14 +0000 (13:42 +0800)
committerChangBo Guo(gcb) <eric.guo@easystack.cn>
Sat, 31 Jan 2015 05:42:14 +0000 (13:42 +0800)
The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries.[1]
oslo.rootwrap suggests to use oslo_rootwrap.cmd:main.[2]

[1]https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages
[2]https://github.com/openstack/oslo.rootwrap#using

Change-Id: I677f682cf94047e9759c519ed8f3024710e0f4d6

setup.cfg

index 4a72a101f6a09b3369d70426509a1105da7f09f6..2f06b24ba3e7ce602778e16dd5952ca29f4fe51f 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -47,7 +47,7 @@ console_scripts =
     cinder-api = cinder.cmd.api:main
     cinder-backup = cinder.cmd.backup:main
     cinder-manage = cinder.cmd.manage:main
-    cinder-rootwrap = oslo.rootwrap.cmd:main
+    cinder-rootwrap = oslo_rootwrap.cmd:main
     cinder-rtstool = cinder.cmd.rtstool:main
     cinder-scheduler = cinder.cmd.scheduler:main
     cinder-volume = cinder.cmd.volume:main