aboutsummaryrefslogtreecommitdiff
path: root/steuermann
diff options
context:
space:
mode:
Diffstat (limited to 'steuermann')
-rw-r--r--steuermann/config.py2
-rw-r--r--steuermann/nodes.py3
-rw-r--r--steuermann/run_all.py2
3 files changed, 5 insertions, 2 deletions
diff --git a/steuermann/config.py b/steuermann/config.py
index f65a365..b10881b 100644
--- a/steuermann/config.py
+++ b/steuermann/config.py
@@ -1,4 +1,4 @@
-db_creds = 'steuermann.db'
+db_creds = '/ssbwebv1/data2/steuermann/steuermann.db'
def open_db() :
import sqlite3
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) :
diff --git a/steuermann/run_all.py b/steuermann/run_all.py
index 35d9738..c3ed796 100644
--- a/steuermann/run_all.py
+++ b/steuermann/run_all.py
@@ -148,7 +148,7 @@ def cmd_flagging( l, xnodes, func ) :
#
def print_node(xnodes, x, print_recursive, print_all, indent=0, print_cmd=1):
- print ' '*indent, xnodes[x].wanted, xnodes[x].finished, xnodes[x].skip, x
+ print ' '*indent, xnodes[x].wanted, xnodes[x].finished, xnodes[x].skip, xnodes[x].depth, x
if print_cmd :
print ' '*indent, " CMD", xnodes[x].script_type, xnodes[x].script
if print_all :