The original checks assume that no-blocker is denoted as 'None'.
However, currently atom.blocker returns just 'False'.
---
 bin/repoman | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/repoman b/bin/repoman
index 9c5d720..71fc7f0 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2042,16 +2042,16 @@ for x in effective_scanlist:
                                        if atom == "||":
                                                continue
 
+                                       is_blocker = atom.blocker
+
                                        # Skip dependency.unknown for blockers, 
so that we
                                        # don't encourage people to remove 
necessary blockers,
                                        # as discussed in bug #382407.
-                                       if atom.blocker is None and \
+                                       if not is_blocker and \
                                                not portdb.xmatch("match-all", 
atom) and \
                                                not 
atom.cp.startswith("virtual/"):
                                                unknown_pkgs.add((mytype, 
atom.unevaluated_atom))
 
-                                       is_blocker = atom.blocker
-
                                        if catdir != "virtual":
                                                if not is_blocker and \
                                                        atom.cp in 
suspect_virtual:
-- 
2.0.4


Reply via email to