aboutsummaryrefslogtreecommitdiff
path: root/steuermann/nodes.py
diff options
context:
space:
mode:
authorsienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-08-16 12:33:12 -0400
committersienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-08-16 12:33:12 -0400
commit74e2856f418f42474969f0dbc00828bea2eaad93 (patch)
tree38a097a604a2fcec2895a050f868d434f15440de /steuermann/nodes.py
parent397281b710dc8679984d19c59aeb9ae05469cc58 (diff)
downloadsteuermann-74e2856f418f42474969f0dbc00828bea2eaad93.tar.gz
x
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@774 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann/nodes.py')
-rw-r--r--steuermann/nodes.py3
1 files changed, 3 insertions, 0 deletions
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) :