Commit eee5423d authored by David Wilson's avatar David Wilson

issue #150: tidy up mitogen.debug output for use next time

parent 9adadb5c
......@@ -56,6 +56,7 @@ def format_stacks():
threadId,
stack,
)]
stack = stack.f_back.f_back
for filename, lineno, name, line in traceback.extract_stack(stack):
l += [
......@@ -90,7 +91,7 @@ def _handler(*_):
))
if diff:
fp.write('\n'.join(diff))
fp.write('\n'.join(diff) + '\n')
else:
fp.write('(no change since last time)\n')
_last = s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment