diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 17:30:59 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 17:30:59 -0800 |
commit | 94bbef9dc1edd65d78888924afa2a4a861611081 (patch) | |
tree | c426c819d38264a2c22d6b182315cd3c061f308a /tools/autodebugger_indenter.py | |
parent | 91b6da47ba6aedfc34974cd8d9f7fe8f0074a4cd (diff) |
optimizer autodebugger indenter for memory use
Diffstat (limited to 'tools/autodebugger_indenter.py')
-rw-r--r-- | tools/autodebugger_indenter.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/autodebugger_indenter.py b/tools/autodebugger_indenter.py index 12530cfb..7c1de664 100644 --- a/tools/autodebugger_indenter.py +++ b/tools/autodebugger_indenter.py @@ -12,9 +12,7 @@ for i in range(len(lines)): line = lines[i] if line.startswith('AD:-2,'): depth -= 1 - lines[i] = (' '*depth) + line + print str(depth) + '|' + line if line.startswith('AD:-1,'): depth += 1 -print '\n'.join(lines) - |