From f77693d90a615ae6e77825653bf647567c9305e8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 18 Mar 2021 07:54:31 -0400 Subject: style: correct two recent lint faux pas --- coverage/inorout.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/inorout.py') diff --git a/coverage/inorout.py b/coverage/inorout.py index fbd1a95e..9c3040fc 100644 --- a/coverage/inorout.py +++ b/coverage/inorout.py @@ -243,6 +243,9 @@ class InOrOut(object): # the frame's file name, then just use the original. filename = original_filename + if self.debug: + self.debug.write("Considering filename {!r}".format(filename)) + if not filename: # Empty string is pretty useless. return nope(disp, "empty string isn't a file name") -- cgit v1.2.1