You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-portage/porthole/files/porthole-0.6.1-masking_stat...

18 lines
485 B

Index: porthole/backends/portagelib.py
===================================================================
--- porthole/backends/portagelib.py (revision 1209)
+++ porthole/backends/portagelib.py (working copy)
@@ -452,7 +452,11 @@
def get_masking_status(ebuild):
- return portage.getmaskingstatus(ebuild)
+ try:
+ status = portage.getmaskingstatus(ebuild)
+ except KeyError:
+ status = ['deprecated']
+ return status
def get_masking_reason(ebuild):