From: | "Joseph Jezak (josejx)" <josejx@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-src commit in xac/py: arch.py monitor.py |
Date: | Sun, 06 Jan 2008 19:47:21 |
Message-Id: | E1JBbSo-0008NS-Ib@stork.gentoo.org |
1 | josejx 08/01/06 19:47:18 |
2 | |
3 | Modified: arch.py monitor.py |
4 | Log: |
5 | Fixed vbe on amd64 with dummy module, another range fix. |
6 | |
7 | Revision Changes Path |
8 | 1.8 xac/py/arch.py |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/arch.py?rev=1.8&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/arch.py?rev=1.8&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/arch.py?r1=1.7&r2=1.8 |
13 | |
14 | Index: arch.py |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-src/xac/py/arch.py,v |
17 | retrieving revision 1.7 |
18 | retrieving revision 1.8 |
19 | diff -u -r1.7 -r1.8 |
20 | --- arch.py 1 Mar 2007 21:10:59 -0000 1.7 |
21 | +++ arch.py 6 Jan 2008 19:47:18 -0000 1.8 |
22 | @@ -9,10 +9,7 @@ |
23 | from edid import Edid |
24 | from pci_id import * |
25 | from fb import Framebuffer |
26 | - ### Only load the vbe module on x86 |
27 | - arch = os.uname()[4] |
28 | - if arch.count("i386") or arch.count("i486") or arch.count("i586") or arch.count("i686"): |
29 | - from vbe import * |
30 | + from vbe import * |
31 | |
32 | except ImportError, e: |
33 | print "Module loading failed on: " + str(e) |
34 | |
35 | |
36 | |
37 | 1.6 xac/py/monitor.py |
38 | |
39 | file : http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/monitor.py?rev=1.6&view=markup |
40 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/monitor.py?rev=1.6&content-type=text/plain |
41 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-src/xac/py/monitor.py?r1=1.5&r2=1.6 |
42 | |
43 | Index: monitor.py |
44 | =================================================================== |
45 | RCS file: /var/cvsroot/gentoo-src/xac/py/monitor.py,v |
46 | retrieving revision 1.5 |
47 | retrieving revision 1.6 |
48 | diff -u -r1.5 -r1.6 |
49 | --- monitor.py 27 Feb 2007 14:47:45 -0000 1.5 |
50 | +++ monitor.py 6 Jan 2008 19:47:18 -0000 1.6 |
51 | @@ -190,9 +190,9 @@ |
52 | elif edid != None: |
53 | details = edid.get_monitor_details() |
54 | for d in details: |
55 | - if d[0].count("Range"): |
56 | - print d |
57 | + if d[0].count("Range") and len(d) == 2: |
58 | r = d[1] |
59 | + print r |
60 | self.sync['h_min'] = r['h_min'] |
61 | self.sync['h_max'] = r['h_max'] |
62 | self.sync['v_min'] = r['v_min'] |
63 | |
64 | |
65 | |
66 | -- |
67 | gentoo-commits@l.g.o mailing list |