From: Zac Medico Date: Tue, 9 Mar 2010 05:02:27 +0000 (-0000) Subject: Add --debug output for the scheduler digraph. X-Git-Tag: v2.2_rc67~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b525d490eab349157a08d927ba604211de433d7c;p=portage.git Add --debug output for the scheduler digraph. svn path=/main/trunk/; revision=15790 --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 24679b2ac..c35c2eaba 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): """