summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-09 05:02:27 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-09 05:02:27 +0000
commitb525d490eab349157a08d927ba604211de433d7c (patch)
tree3919d8979c3470420b931ec2503d6410806731f5
parent41cd3586530eb54d6c907fbac820c948a569b1ac (diff)
downloadportage-b525d490eab349157a08d927ba604211de433d7c.tar.gz
portage-b525d490eab349157a08d927ba604211de433d7c.tar.bz2
portage-b525d490eab349157a08d927ba604211de433d7c.zip
Add --debug output for the scheduler digraph.
svn path=/main/trunk/; revision=15790
-rw-r--r--pym/_emerge/Scheduler.py4
1 files changed, 4 insertions, 0 deletions
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):
"""