From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/hwdata-redhat/files: hwdata-redhat-0.217-python-3.patch |
Date: | Wed, 21 Dec 2011 08:16:32 |
Message-Id: | 20111221081622.919082004C@flycatcher.gentoo.org |
1 | floppym 11/12/21 08:16:22 |
2 | |
3 | Added: hwdata-redhat-0.217-python-3.patch |
4 | Log: |
5 | Fix tests with python 3; bug 377459. Patch by Arfrever, tested by Ian Delaney. |
6 | |
7 | (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: hwdata-redhat-0.217-python-3.patch |
16 | =================================================================== |
17 | --- check-pci-ids.py |
18 | +++ check-pci-ids.py |
19 | @@ -5,8 +5,8 @@ |
20 | |
21 | # Check that the sorting order is preserved in pci.ids |
22 | |
23 | -vendor_id = None |
24 | -device_id = None |
25 | +vendor_id = -1 |
26 | +device_id = -1 |
27 | lineno = 1 |
28 | |
29 | file = open("pci.ids") |