From 56614f20abb22e7e6c891fc83a9f2c9149646586 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 5 Feb 2016 17:28:25 +0000 Subject: [rpm] make rpm.rpmva work without --verify When the global verify switch was introduced the behaviour of the historical 'rpm.rpmva' plugin option was made to depend on the global setting: without --verify no verification is carried out even though it is clear this is not what the user intended. Allow verification to take place in the rpm module if the rpm.va option is True, regardless of the setting of the global --verify option. Fixes #735. Signed-off-by: Bryn M. Reeves --- sos/plugins/rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py index 845e85d3..538fb78f 100644 --- a/sos/plugins/rpm.py +++ b/sos/plugins/rpm.py @@ -63,7 +63,7 @@ class Rpm(Plugin, RedHatPlugin): add_rpm_cmd(query_fmt, None, None, "package-data") - if self.get_option("verify"): + if self.get_option("verify") or self.get_option("rpmva"): if self.get_option("rpmva"): self.add_cmd_output("rpm -Va", root_symlink="rpm-Va", timeout=180) -- cgit