summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-06-14 11:51:44 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-18 13:22:36 -0700
commit951256c5e02e3b763ab1701f8147a16e91eabb77 (patch)
treee6bd10473f7b63a7e3e67b174940c4e3b40c0f41
parenta5c459224e8f0ac9863ca024ec3303068d563b6b (diff)
downloadportage-951256c5e02e3b763ab1701f8147a16e91eabb77.tar.gz
portage-951256c5e02e3b763ab1701f8147a16e91eabb77.tar.bz2
portage-951256c5e02e3b763ab1701f8147a16e91eabb77.zip
_show_circular_deps: Fix handling of 'None' returned by extract_affecting_use and remove debug output
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 2 insertions, 1 deletions
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 = []