From: Zac Medico Date: Tue, 10 Oct 2006 18:06:34 +0000 (-0000) Subject: Fix breakage in generation of favorites list for bug #150754. X-Git-Tag: v2.1.2~658 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0abf1a13cce634ba9562f55b9bd05d9791be7c5;p=portage.git Fix breakage in generation of favorites list for bug #150754. svn path=/main/trunk/; revision=4649 --- diff --git a/bin/emerge b/bin/emerge index 4d0d8b285..f82448a4a 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1004,7 +1004,9 @@ class depgraph: if not self.mysd: return (0,myfavorites) elif not "--oneshot" in self.myopts: - myfavorites.append(portage.dep_getkey(mykey)) + mykey = portage.dep_getkey(myatom) + if mykey not in myfavorites: + myfavorites.append(mykey) missing=0 if "--usepkgonly" in self.myopts: