diff options
Diffstat (limited to 'steuermann/report.py')
-rw-r--r-- | steuermann/report.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/steuermann/report.py b/steuermann/report.py index e1d2971..ca8d064 100644 --- a/steuermann/report.py +++ b/steuermann/report.py @@ -91,7 +91,8 @@ def get_table( db, run_name, tablename, info_callback, showdepth=0 ) : if cmd != prev_cmd : row = row + 1 t.set_value(row, 0, cmd) - t.set_value(row, 'depth', depth) + if showdepth : + t.set_value(row, 'depth', depth) prev_cmd = cmd info = info_callback( db, run_name, tablename, host, cmd ) |