remove the unused neutron_lib.api.utils module
The single function in the api utils module has been moved for some time and no one is using it today [1]. This patch removes the neutron_lib.api.utils module. [1] http://codesearch.openstack.org/?q=from%20neutron_lib.api%20import%20utils Change-Id: I28c496e9f686a7b83e86703a8b5ee2ec420e72e1
This commit is contained in:
parent
f46d20bc7d
commit
fa32a3f41c
@ -1,23 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""
|
||||
NOTE: Do not use this module to add random utils.
|
||||
We want to avoid having a generic utils.py dumping ground.
|
||||
"""
|
||||
|
||||
from debtcollector import moves
|
||||
|
||||
from neutron_lib.api import attributes
|
||||
|
||||
populate_project_info = moves.moved_function(
|
||||
attributes.populate_project_info, 'populate_project_info', __name__)
|
6
releasenotes/notes/rm-apiutils-fa30241be7ca5162.yaml
Normal file
6
releasenotes/notes/rm-apiutils-fa30241be7ca5162.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- The ``neutron_lib.api.utils`` module has been removed. The single
|
||||
``populate_project_info`` function therein is available in
|
||||
``neutron_lib.api.attributes`` and has been marked as a moved function
|
||||
in the ``utils`` module for some time now.
|
Loading…
x
Reference in New Issue
Block a user