From eafe9e39bb9697e6e73cde309d052a908911dcd9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 19 Feb 2007 01:24:10 +0000 Subject: [PATCH] Automatically enable --tree mode when displaying nodes with circular deps. svn path=/main/trunk/; revision=6008 --- pym/emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2