diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-09-21 02:54:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-09-21 02:54:25 +0000 |
commit | 2322da1ba0584f7b38ada5bef7e7a56c1e3a6e5a (patch) | |
tree | aae537186e081f9a3852a7c7cb387d03ec7ad47b | |
parent | 6c711c380e203c74b35477a81ac8c13421aa8c67 (diff) | |
download | portage-2322da1ba0584f7b38ada5bef7e7a56c1e3a6e5a.tar.gz portage-2322da1ba0584f7b38ada5bef7e7a56c1e3a6e5a.tar.bz2 portage-2322da1ba0584f7b38ada5bef7e7a56c1e3a6e5a.zip |
Add a docstring for depgraph.validate_blockers().
svn path=/main/trunk/; revision=4488
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 5cf60720b..9b90a55ee 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1236,6 +1236,11 @@ class depgraph: return 1 def validate_blockers(self): + """Remove any blockers from the digraph that do not match any of the + packages within the graph. Blockers are only matched against the + final state of the graph. Thus, it's possible that mutually blocking + packages will be installed simultaneously a some point(s) during the + transition from the initial to the final state.""" all_blockers = [node for node in self.digraph.all_nodes() if node.split()[0] == "blocks"] for blocker in all_blockers: |