summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2023-02-14 08:27:42 +0100
committerRodolfo Alonso Hernandez <ralonsoh@redhat.com>2023-02-14 08:30:20 +0100
commit16a2cd127dfa2e44887aee911d248c8d9365efb8 (patch)
tree9fe7b4993f0ef16de7abdb5fc475b8b6698d5b2d
parent68cbf56f9ccf9ecd4a53df5c684c2036d78a8612 (diff)
downloadpython-neutronclient-16a2cd127dfa2e44887aee911d248c8d9365efb8.tar.gz
Remove CLI warning message9.0.0
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
-rw-r--r--neutronclient/v2_0/client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py
index e670e3f..de05291 100644
--- a/neutronclient/v2_0/client.py
+++ b/neutronclient/v2_0/client.py
@@ -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)