diff options
Diffstat (limited to 'app-portage/porthole/files/porthole-0.6.1-masking_status.patch')
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-masking_status.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-portage/porthole/files/porthole-0.6.1-masking_status.patch b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch new file mode 100644 index 000000000000..e626fbb3c58f --- /dev/null +++ b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch @@ -0,0 +1,17 @@ +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): |