From b7165a97a82eba631c70486a1e0e8910c631593f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 24 Sep 2016 14:12:13 -0400 Subject: Derp: actually make config not write a call stack for each line --- coverage/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/debug.py') diff --git a/coverage/debug.py b/coverage/debug.py index 823d2b2..4cf0f3e 100644 --- a/coverage/debug.py +++ b/coverage/debug.py @@ -48,7 +48,7 @@ class DebugControl(object): if self.should('pid'): msg = "pid %5d: %s" % (os.getpid(), msg) self.output.write(msg+"\n") - if self.should('callers'): + if callers and self.should('callers'): dump_stack_frames(out=self.output) self.output.flush() -- cgit v1.2.1