summaryrefslogtreecommitdiff
path: root/testing/usbutils/fix-python2.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
committerroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
commitbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (patch)
treec05f121bc450e6f4528e13b4eef371f3b0d2bc0f /testing/usbutils/fix-python2.patch
parentd2f2d3b5c845807249680c275031f94047f9e762 (diff)
Mon May 9 22:34:00 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"