From b57f87c9a020acad1ff9393c8f09a4c33713ccf1 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Tue, 22 Aug 2017 13:12:26 +0200 Subject: [PATCH] pylint: fix no-member in schema plugin The `module.register` member is added just a few lines before pylint warns there's none such thing. https://pagure.io/freeipa/issue/6874 Reviewed-By: Alexander Bokovoy --- ipaclient/remote_plugins/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaclient/remote_plugins/schema.py b/ipaclient/remote_plugins/schema.py index eb12d678b..863d8f199 100644 --- a/ipaclient/remote_plugins/schema.py +++ b/ipaclient/remote_plugins/schema.py @@ -586,7 +586,7 @@ def get_package(server_info, client): for plugin_cls in (_SchemaCommandPlugin, _SchemaObjectPlugin): for full_name in schema[plugin_cls.schema_key]: plugin = plugin_cls(schema, str(full_name)) - plugin = module.register()(plugin) + plugin = module.register()(plugin) # pylint: disable=no-member sys.modules[module_name] = module for full_name, topic in six.iteritems(schema['topics']):