kas: Drop undocumented external plugin support
This support for external plugins is undocumented and results in differences between how internal and external plugins are loaded. It will shortly be replaced by more integrated support for dynamically finding and loading plugins. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
@@ -34,7 +34,6 @@ import logging
|
||||
import signal
|
||||
import sys
|
||||
import os
|
||||
import pkg_resources
|
||||
|
||||
try:
|
||||
import colorlog
|
||||
@@ -131,8 +130,6 @@ def kas_get_argparser():
|
||||
help='Enable debug logging')
|
||||
|
||||
subparser = parser.add_subparsers(help='sub command help', dest='cmd')
|
||||
for ext_plugin in pkg_resources.iter_entry_points('kas.plugins'):
|
||||
ext_plugin.load()
|
||||
|
||||
for plugin in getattr(kasplugin, 'plugins', {}).values():
|
||||
plugin_parser = subparser.add_parser(plugin.name, help=plugin.helpmsg)
|
||||
|
Reference in New Issue
Block a user