diff options
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/emerge b/bin/emerge index 9fc2daba8..90ec7e435 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3234,7 +3234,7 @@ def action_depclean(settings, trees, ldpath_mtimes, print "!!! You have no dependencies. Impossible. Bug." sys.exit(1) - reallist=[] + reallist = set() explicitly_required = set() for x in alldeps: myparts=portage.catpkgsplit(string.split(x)[2]) @@ -3250,8 +3250,7 @@ def action_depclean(settings, trees, ldpath_mtimes, continue catpack=myparts[0]+"/"+myparts[1] - if catpack not in reallist: - reallist.append(catpack) + reallist.add(catpack) explicitly_required.add(x.split()[2]) |