From 74e2856f418f42474969f0dbc00828bea2eaad93 Mon Sep 17 00:00:00 2001 From: sienkiew Date: Thu, 16 Aug 2012 16:33:12 +0000 Subject: x git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@774 d34015c8-bcbb-4646-8ac8-8ba5febf221d --- steuermann/nodes.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'steuermann/nodes.py') diff --git a/steuermann/nodes.py b/steuermann/nodes.py index c7d4262..cfab1c0 100644 --- a/steuermann/nodes.py +++ b/steuermann/nodes.py @@ -268,6 +268,8 @@ def c_d_fn(x,depth) : print "error: loop detected at",x.name return + print '>'," "*depth, depth, x.name + # if it is already deeper than where we are now, we can (must) # prune the tree walk here. if x.depth >= depth : @@ -288,6 +290,7 @@ def c_d_fn(x,depth) : for y in x.successors : c_d_fn(y,depth) + print '<'," "*depth, depth, x.name x.in_recursion = 0 def compute_depths(nodes) : -- cgit