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:
Boden R 2018-04-04 10:01:24 -06:00
parent f46d20bc7d
commit fa32a3f41c
2 changed files with 6 additions and 23 deletions

View File

@ -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__)

View 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.