summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-19 01:24:10 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-19 01:24:10 +0000
commiteafe9e39bb9697e6e73cde309d052a908911dcd9 (patch)
tree0355d873a4a6b3f06b532141596e2e07e43cc391
parenta2662ce3d7256ba3800d724eb847dc579c512b69 (diff)
downloadportage-eafe9e39bb9697e6e73cde309d052a908911dcd9.tar.gz
portage-eafe9e39bb9697e6e73cde309d052a908911dcd9.tar.bz2
portage-eafe9e39bb9697e6e73cde309d052a908911dcd9.zip
Automatically enable --tree mode when displaying nodes with circular deps.
svn path=/main/trunk/; revision=6008
-rw-r--r--pym/emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 4db666700..6c1043937 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -2092,6 +2092,7 @@ class depgraph:
# disable some of them.
self.myopts.pop("--quiet", None)
self.myopts.pop("--verbose", None)
+ self.myopts["--tree"] = True
self.display([list(node) for node in mygraph.order])
print "!!! Error: circular dependencies:"
print