_show_circular_deps: Fix handling of 'None' returned by extract_affecting_use and...
authorSebastian Luther <SebastianLuther@gmx.de>
Mon, 14 Jun 2010 09:51:44 +0000 (11:51 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Aug 2010 20:22:36 +0000 (13:22 -0700)
pym/_emerge/depgraph.py

index 94914b980c2b8e7405398ec87e84b39c9a5ca750..1cc2d67b220d1b9e04085f953cb60c9dc59874e4 100644 (file)
@@ -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 = []