Fix incorrect package masking logic master v3.1.3
authorMike Pagano <mpagano@gentoo.org>
Thu, 30 Jul 2020 12:32:35 +0000 (08:32 -0400)
committerMike Pagano <mpagano@gentoo.org>
Thu, 30 Jul 2020 12:32:35 +0000 (08:32 -0400)
portpeek

index 12ed1bc1fb32972c4223ceb78edb4704a65009e1..008321ec067690a872f8d3cedb8aed235801dd25 100755 (executable)
--- a/portpeek
+++ b/portpeek
@@ -16,7 +16,7 @@
 
 __author__ = "Michael Pagano"
 __email__ = "mpagano@gentoo.org"
-__version__ = "3.1.2"
+__version__ = "3.1.3"
 __productname__ = "portpeek"
 __description__ = "Displays user unmasked ebuilds and installable options from the portage tree"
 
@@ -820,10 +820,9 @@ def is_pkg_package_masked(cpv):
     mask_reason_list = get_mask_reason_list(cpv)
 
     if not mask_reason_list:
-        return True
-
-    return False
+        return False
 
+    return True
 
 def get_mask_reason_list(cpv):
     print_output(debug, portage.output.blue("get_mask_reason_list  called: " + cpv))