diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-04-30 15:50:50 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-04-30 15:50:50 +0100 |
commit | dc75f25ab80a036f9a9fd348669174208ece98d6 (patch) | |
tree | ea67ba17bf9e64bebeb861969fe4e5612ee8afab | |
parent | 8d121f99e8f7ec5b9bea3e2b53d93969e67e17dd (diff) | |
download | sos-dc75f25ab80a036f9a9fd348669174208ece98d6.tar.gz |
Tidy up description and code formatting in usb plug-in
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/usb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/usb.py b/sos/plugins/usb.py index 03119572..8e58317b 100644 --- a/sos/plugins/usb.py +++ b/sos/plugins/usb.py @@ -17,15 +17,16 @@ from glob import glob import os class Usb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): - """USB subsystem information + """USB device related information """ plugin_name = "usb" def setup(self): self.add_copy_spec("/sys/bus/usb") - + self.add_cmd_output("lsusb") self.add_cmd_output("lsusb -v") self.add_cmd_output("lsusb -t") + |