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 <stephenfin@redhat.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user