diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-03-26 17:04:28 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-08 09:27:16 -0400 |
commit | 6a3b296de560e6b4abc1ec56cf34b0028a04a878 (patch) | |
tree | 3f91e9184bccbdc55c7075c4867e60c968f3d25f /po/sos.pot | |
parent | 5b7717775ca8b26a1fde76a163d604f40d724721 (diff) | |
download | sos-6a3b296de560e6b4abc1ec56cf34b0028a04a878.tar.gz |
[component] Add Policy loading and move to new component.py
Adds Policy loading into `SoSComponent()` so that any subcommand can, if
it needs it, have policies loaded consistenly. This is controlled via
the `load_policy` class attr, which defaults to True. Future subcommands
that do not need to have a policy loaded (E.G. the planned `info`
command), can simply set this to False in order to skip this step.
Moves `SoSComponent()` out of sos/__init__.py and into sos/component.py
to ease import conflicts arising from policy loading.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'po/sos.pot')
0 files changed, 0 insertions, 0 deletions