diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-19 21:48:42 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-19 21:48:42 +0000 |
commit | df6da8be9378ad9afe7ab8a05894f6e4579737e9 (patch) | |
tree | 420790db73969c58496e33547c3423a607618f42 | |
parent | f90fe7bbba7ff11d585a8d28fe74d9349f829a74 (diff) | |
download | portage-df6da8be9378ad9afe7ab8a05894f6e4579737e9.tar.gz portage-df6da8be9378ad9afe7ab8a05894f6e4579737e9.tar.bz2 portage-df6da8be9378ad9afe7ab8a05894f6e4579737e9.zip |
Only call altlist() to validate blockers when necessary.
svn path=/main/trunk/; revision=4759
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index e995eed04..83ac67baf 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1467,7 +1467,8 @@ class depgraph: self.blocker_digraph.addnode(node, blocker) self.digraph.remove(blocker) # Validate blockers that depend on merge order. - self.altlist() + if not self.blocker_digraph.empty(): + self.altlist() def altlist(self, reversed=False): mygraph=self.digraph.copy() |