diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-03-25 12:16:33 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-25 12:16:33 +0000 |
commit | f31f7c3fb23a322f26ebfc8758be8a6b4ed1e7a6 (patch) | |
tree | 6e1840a989884fe01387c94720804dfdc05425c6 /tests/option_tests.py | |
parent | 41d48770c0c34b58862be57b1aa14618b7422ae9 (diff) | |
download | sos-f31f7c3fb23a322f26ebfc8758be8a6b4ed1e7a6.tar.gz |
[Plugin] fix predicate precedence in get_predicate()
The get_predicate() method is responsible for evaluating the
precedence of the three types of predicate:
* Explicit predicate passed as `pred` keyword argument
* Implicit command default predicate if processing a command
* Implicit plugin default predicate
Fix the ordering of checks in get_predicate() so that these rules
are consistently followed.
Related: #1616
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/option_tests.py')
0 files changed, 0 insertions, 0 deletions