af4389e606
By storing plugins in a dictionary indexed by plugin name rather than a list, we can simplify plugin lookup and remove the undocumented need for a plugin's run() method to return True when it has matched the given command. The command will be rejected by the argument parser if it does not match one of the plugin names so we do not need to handle failure to lookup the plugin in the dictionary. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
__version__.py | ||
build.py | ||
config.py | ||
configschema.py | ||
context.py | ||
includehandler.py | ||
kas.py | ||
libcmds.py | ||
libkas.py | ||
repos.py | ||
shell.py |