Remove CLI warning message

This warning was added in [1]. This patch is partially reverting it
but we keep the release note. This warning message could be a bit
intrusive for those users still using it. In any case, the
recommendation to move to OSC is something already known and
publicly requested.

[1]https://review.opendev.org/c/openstack/python-neutronclient/+/862371

Change-Id: I0c2fba3e45a9de1eba09efcf8919661a855c7e89
This commit is contained in:
Rodolfo Alonso Hernandez 2023-02-14 08:27:42 +01:00
parent 68cbf56f9c
commit 16a2cd127d

View File

@ -250,9 +250,6 @@ class ClientBase(object):
def __init__(self, **kwargs):
"""Initialize a new client for the Neutron v2.0 API."""
super(ClientBase, self).__init__()
_logger.warning("The python binding code in neutronclient will be "
"deprecated in favor of OpenstackSDK, please use "
"that!")
self.retries = kwargs.pop('retries', 0)
self.raise_errors = kwargs.pop('raise_errors', True)
self.httpclient = client.construct_http_client(**kwargs)