Add more space to lsusb.py output

I want to suggest adding one more space between version and speed in
lsusb.py. For USB 3.0 devices are these numbers connected.
Example:
3-4.1.2      090c:1000 00  2.00 480MBit/s 100mA 1IFs (SMI Corporation USB DISK AA04012700009416)
usb4            1d6b:0003 09  3.005000MBit/s   0mA 1IFs (xhci_hcd 0000:00:14.0)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Lukáš Nykrýn 2011-10-17 17:04:02 +02:00 committed by Greg Kroah-Hartman
parent 3fe53e7d2e
commit a9ab323074

View File

@ -383,7 +383,7 @@ class UsbDevice:
else:
col = cols[1]
if not nohub or self.iclass != 9:
str = "%-16s%s%04x:%04x%s %02x %s%4sMBit/s %s %iIFs (%s%s%s)" % \
str = "%-16s%s%04x:%04x%s %02x %s%5sMBit/s %s %iIFs (%s%s%s)" % \
(" " * self.level + self.fname,
cols[1], self.vid, self.pid, cols[0],
self.iclass, self.usbver, self.speed, self.maxpower,