From 689d36e346272df0e2b700e04feb9cd6311c456a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Mar 2008 03:25:27 +0000 Subject: [PATCH] Fix a broken reference to the DependencyArg class. svn path=/main/branches/2.1.2/; revision=9612 --- bin/emerge | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/bin/emerge b/bin/emerge index 7c79c922a..f477aead8 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1582,18 +1582,10 @@ class depgraph: if len(parents) > max_parents: omitted_parents = len(parents) - max_parents pruned_list = [] - # When generating the pruned list, prefer instances - # of DependencyArg over instances of Package. for parent in parents: - if isinstance(parent, DependencyArg): - pruned_list.append(parent) - if len(pruned_list) == max_parents: - break - for parent in parents: - if not isinstance(parent, DependencyArg): - pruned_list.append(parent) - if len(pruned_list) == max_parents: - break + pruned_list.append(parent) + if len(pruned_list) == max_parents: + break parents = pruned_list msg.append(" pulled in by\n") for parent in parents: -- 2.26.2