diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:33:24 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:34:58 +0100 |
commit | 5531172a9c000c1d56c7eae000230733154c5291 (patch) | |
tree | 971a0ad8d41f7b53f50e940575e31a6632e78dfa | |
parent | 6ea684ea6b3c5ca9126f76e73171a1cd4f4e7227 (diff) | |
download | sos-5531172a9c000c1d56c7eae000230733154c5291.tar.gz |
[libraries] option_list style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/libraries.py | 5 | ||||
-rw-r--r-- | sos/plugins/libvirt.py | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sos/plugins/libraries.py b/sos/plugins/libraries.py index b6e61954..95cdf20e 100644 --- a/sos/plugins/libraries.py +++ b/sos/plugins/libraries.py @@ -20,8 +20,9 @@ class Libraries(Plugin, RedHatPlugin, UbuntuPlugin): plugin_name = 'libraries' - option_list = [('ldconfigv', 'the name of each directory as it is scanned, and any links that are created.', - "slow", False)] + option_list = [ + ('ldconfigv', 'collect verbose ldconfig output', "slow", False) + ] def setup(self): self.add_copy_specs(["/etc/ld.so.conf", "/etc/ld.so.conf.d"]) diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py index 2c0a1d60..f424d3e8 100644 --- a/sos/plugins/libvirt.py +++ b/sos/plugins/libvirt.py @@ -56,8 +56,10 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): def postproc(self): for xmlfile in glob.glob("/etc/libvirt/qemu/*.xml"): - self.do_file_sub(xmlfile, - r"(\s*passwd=\s*')([^']*)('.*)", - r"\1******\3") + self.do_file_sub( + xmlfile, + r"(\s*passwd=\s*')([^']*)('.*)", + r"\1******\3" + ) # vim: et ts=4 sw=4 |