From 2322da1ba0584f7b38ada5bef7e7a56c1e3a6e5a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 21 Sep 2006 02:54:25 +0000 Subject: [PATCH] Add a docstring for depgraph.validate_blockers(). svn path=/main/trunk/; revision=4488 --- bin/emerge | 5 +++++ 1 file changed, 5 insertions(+) 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: -- 2.26.2