From: Sebastian Luther Date: Mon, 14 Jun 2010 09:51:44 +0000 (+0200) Subject: _show_circular_deps: Fix handling of 'None' returned by extract_affecting_use and... X-Git-Tag: v2.2_rc68~95 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=951256c5e02e3b763ab1701f8147a16e91eabb77;p=portage.git _show_circular_deps: Fix handling of 'None' returned by extract_affecting_use and remove debug output --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 94914b980..1cc2d67b2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4168,9 +4168,10 @@ class depgraph(object): if ppkg == parent: parent_atom = atom.unevaluated_atom break - affecting_use = list(portage.dep.extract_affecting_use(dep, parent_atom)) + affecting_use = portage.dep.extract_affecting_use(dep, parent_atom) if affecting_use: + affecting_use = list(affecting_use) #We iterate over all possible settings of these use flags and gather #a set of possible changes use_state = []