From e9ba65f66dbc59b89d6133b8a909f58fa41bf760 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 2 May 2012 18:32:33 -0700 Subject: [PATCH] composite_db._visible: fix AttributeError --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index e6245598f..dfc9be9d0 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -6858,7 +6858,7 @@ class _dep_check_composite_db(dbapi): # Note: highest_visible is not necessarily the real highest # visible, especially when --update is not enabled, so use # < operator instead of !=. - if pkg < highest_visible: + if highest_visible is not None and pkg < highest_visible: return False elif in_graph != pkg: # Mask choices for packages that would trigger a slot -- 2.26.2