aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-04-09 21:30:18 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-09 22:04:38 +0100
commitcb39309571cb2915d4c19fee0d6588f1ee9cdb40 (patch)
tree7ebab985cb9c085a3917995f19d079e304798ed1
parent422046e225c9c72df1ab4517909a922918f76fdc (diff)
downloadsos-cb39309571cb2915d4c19fee0d6588f1ee9cdb40.tar.gz
Fix file and command collection regressions
The automation used to convert to add_copy_specs() and add_cmd_outputs() left a few missing and stray commas in file and command lists, for e.g. causing two lsusb commands to be concatenated: Running 71/74: usb... [plugin:usb] collecting path '/sys/bus/usb' [plugin:usb] collecting output of 'lsusblsusb -v' [plugin:usb] collecting output of 'lsusb -t' Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/usb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/usb.py b/sos/plugins/usb.py
index f9e39432..94349ec1 100644
--- a/sos/plugins/usb.py
+++ b/sos/plugins/usb.py
@@ -26,7 +26,7 @@ class Usb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/sys/bus/usb")
self.add_cmd_outputs([
- "lsusb"
+ "lsusb",
"lsusb -v",
"lsusb -t"
])