From: | "Christian Ruppert (idl0r)" <idl0r@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-portage/porthole/files: porthole-0.6.1-masking_status.patch |
Date: | Sat, 27 Feb 2010 15:47:40 |
Message-Id: | E1NlOtF-0000bW-Gj@stork.gentoo.org |
1 | idl0r 10/02/27 15:47:37 |
2 | |
3 | Added: porthole-0.6.1-masking_status.patch |
4 | Log: |
5 | Rev bump to 0.6.1-r1, fixes bug 307037. |
6 | (Portage version: 2.2_rc63/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-portage/porthole/files/porthole-0.6.1-masking_status.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/files/porthole-0.6.1-masking_status.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/files/porthole-0.6.1-masking_status.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: porthole-0.6.1-masking_status.patch |
15 | =================================================================== |
16 | Index: porthole/backends/portagelib.py |
17 | =================================================================== |
18 | --- porthole/backends/portagelib.py (revision 1209) |
19 | +++ porthole/backends/portagelib.py (working copy) |
20 | @@ -452,7 +452,11 @@ |
21 | |
22 | |
23 | def get_masking_status(ebuild): |
24 | - return portage.getmaskingstatus(ebuild) |
25 | + try: |
26 | + status = portage.getmaskingstatus(ebuild) |
27 | + except KeyError: |
28 | + status = ['deprecated'] |
29 | + return status |
30 | |
31 | |
32 | def get_masking_reason(ebuild): |