Fix a broken reference to the Package.cpv_slot attribute.
authorZac Medico <zmedico@gentoo.org>
Mon, 26 May 2008 00:34:40 +0000 (00:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 May 2008 00:34:40 +0000 (00:34 -0000)
svn path=/main/trunk/; revision=10425

pym/portage/__init__.py

index 80c24ff310b8b65431336f6c75d48fcf53d129ca..d2f4cc98ff3ed771b487a0c290becd4d66bce1e2 100644 (file)
@@ -5648,7 +5648,7 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
                                                # Check if the atom would result in a direct circular
                                                # dependency and try to avoid that if it seems likely
                                                # to be unresolvable.
-                                               cpv_slot_list = [parent.cpv_slot]
+                                               cpv_slot_list = [parent]
                                                circular_atom = None
                                                for atom in atoms:
                                                        if "!" == atom[:1]: