From 3fbe41cd52cd140c4a6382dea155ff35bf86d40d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 21 Nov 2025 16:23:37 +0000 Subject: [PATCH] clientmanager: Remove legacy cruft No has used Initialize functions in years, while the _auth_required attribute has long since been handled by the base class in osc-lib. Change-Id: I3af9a6d8c339b2170a13346b009392d51e044443 Signed-off-by: Stephen Finucane --- openstackclient/common/clientmanager.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py index a0455bf1a3..94c25e3f9c 100644 --- a/openstackclient/common/clientmanager.py +++ b/openstackclient/common/clientmanager.py @@ -40,12 +40,6 @@ class ClientManager(clientmanager.ClientManager): in osc-lib so we need to maintain a transition period. """ - # A simple incrementing version for the plugin to know what is available - PLUGIN_INTERFACE_VERSION = "2" - - # Let the commands set this - _auth_required = False - def __init__( self, cli_options=None, @@ -185,9 +179,6 @@ def get_plugin_modules(group): continue mod_list.append(module) - init_func = getattr(module, 'Initialize', None) - if init_func: - init_func('x') # Add the plugin to the ClientManager setattr(