From 16a2cd127dfa2e44887aee911d248c8d9365efb8 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Tue, 14 Feb 2023 08:27:42 +0100 Subject: [PATCH] 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 --- neutronclient/v2_0/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py index e670e3f5c..de0529182 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)