From: Zac Medico Date: Tue, 9 Mar 2010 05:04:36 +0000 (-0000) Subject: Add --debug output for the scheduler digraph. (trunk r15790) X-Git-Tag: v2.1.8.3~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a76a8d5b05c46f58eed5df790f1a62daf7daf4d0;p=portage.git Add --debug output for the scheduler digraph. (trunk r15790) svn path=/main/branches/2.1.7/; revision=15792 --- 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): """