summaryrefslogtreecommitdiff
path: root/testing/usbutils/fix-python2.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-18 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-08-18 23:14:33 +0000
commit59eecef62ae9aa7dd391310f30293318f641c59c (patch)
tree18b1685d21f421939a133b2db2663bc63e5d873c /testing/usbutils/fix-python2.patch
parent3413e75c9cdb6c0daf6ddf92f469a2221c94a55b (diff)
Thu Aug 18 23:14:33 UTC 2011
Diffstat (limited to 'testing/usbutils/fix-python2.patch')
-rw-r--r--testing/usbutils/fix-python2.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/usbutils/fix-python2.patch b/testing/usbutils/fix-python2.patch
new file mode 100644
index 000000000..7e2875e99
--- /dev/null
+++ b/testing/usbutils/fix-python2.patch
@@ -0,0 +1,17 @@
+--- usbutils-002/lsusb.py 2010-12-16 01:07:09.000000000 +0100
++++ usbutils-002/lsusb.py 2011-04-09 22:43:59.043828595 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ # lsusb.py
+ # Displays your USB devices in reasonable form.
+ # (c) Kurt Garloff <garloff@suse.de>, 2/2009, GPL v2 or v3.
+@@ -16,7 +16,7 @@
+ warnsort = False
+
+ prefix = "/sys/bus/usb/devices/"
+-usbids = "/usr/share/usb.ids"
++usbids = "/usr/share/hwdata/usb.ids"
+
+ esc = chr(27)
+ norm = esc + "[0;0m"