From a76a8d5b05c46f58eed5df790f1a62daf7daf4d0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 9 Mar 2010 05:04:36 +0000 Subject: [PATCH] Add --debug output for the scheduler digraph. (trunk r15790) svn path=/main/branches/2.1.7/; revision=15792 --- pym/_emerge/Scheduler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 005590b01..bde47f3a9 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -353,6 +353,10 @@ class Scheduler(PollScheduler): self._prune_digraph() self._prevent_builddir_collisions() self._implicit_libc_deps() + if '--debug' in self.myopts: + writemsg("\nscheduler digraph:\n\n", noiselevel=-1) + self._digraph.debug_print() + writemsg("\n", noiselevel=-1) def _find_system_deps(self): """ -- 2.26.2