From f0abf1a13cce634ba9562f55b9bd05d9791be7c5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 Oct 2006 18:06:34 +0000 Subject: [PATCH] Fix breakage in generation of favorites list for bug #150754. svn path=/main/trunk/; revision=4649 --- bin/emerge | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.26.2