Transition from Oslo namespace to direct imports

Bug #1419385 reported by Adrian Otto
6
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('oslo.utils.timeutils.utcnow')
as the tests break otherwise. We should do this later.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/153805
Committed: https://git.openstack.org/cgit/stackforge/magnum/commit/?id=17c5711c55d97705fbf9adcdd052ac93bab9e4b7
Submitter: Jenkins
Branch: master

commit 17c5711c55d97705fbf9adcdd052ac93bab9e4b7
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
    @mock.patch('oslo.utils.timeutils.utcnow')
    as the tests break otherwise. We should do this later.

    Closes-bug: #1419385
    Change-Id: I8e3fbeb833cddc3f55674a0e781ffe69d5033ad4

Changed in magnum:
status: Triaged → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.