Transition from Oslo namespace to direct imports
Bug #1419385 reported by
Adrian Otto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Oslo team is recommending everyone to use the direct imports and
not use the Oslo namespaces. So switch all our code to use oslo_*
instead of "from oslo." or "import oslo" or "from oslo"
NOTE: some of the tests still have mocks referring to oslo.utils
@mock.patch(
as the tests break otherwise. We should do this later.
Changed in magnum: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/153805 /git.openstack. org/cgit/ stackforge/ magnum/ commit/ ?id=17c5711c55d 97705fbf9adcdd0 52ac93bab9e4b7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 17c5711c55d9770 5fbf9adcdd052ac 93bab9e4b7
Author: Davanum Srinivas <email address hidden>
Date: Sat Feb 7 16:07:39 2015 -0500
Remove imports from oslo namespaces
Oslo team is recommending everyone to use the direct imports and
not use the Oslo namespaces. So switch all our code to use oslo_*
instead of "from oslo." or "import oslo" or "from oslo"
NOTE: some of the tests still have mocks referring to oslo.utils patch(' oslo.utils. timeutils. utcnow' )
@mock.
as the tests break otherwise. We should do this later.
Closes-bug: #1419385 3f55674a0e781ff e69d5033ad4
Change-Id: I8e3fbeb833cddc