From: Zac Medico Date: Thu, 3 May 2012 01:32:33 +0000 (-0700) Subject: composite_db._visible: fix AttributeError X-Git-Tag: v2.2.0_alpha102~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9ba65f66dbc59b89d6133b8a909f58fa41bf760;p=portage.git composite_db._visible: fix AttributeError --- 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