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

pym/portage.py

index 2bcbd4e0712556786ff5332c22c98104fda19884..68c2bb645cb3417ade75457565466cdd44d93ea0 100644 (file)
@@ -5644,7 +5644,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]: