diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-18 07:54:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-18 07:54:31 -0400 |
commit | f77693d90a615ae6e77825653bf647567c9305e8 (patch) | |
tree | dce404f7447dc0db8d50b4afacfec901f736ab85 /coverage/inorout.py | |
parent | 1307eaa36ecfa908c13df2c3dbad0a0dc67027b4 (diff) | |
download | python-coveragepy-git-f77693d90a615ae6e77825653bf647567c9305e8.tar.gz |
style: correct two recent lint faux pas
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r-- | coverage/inorout.py | 3 |
1 files changed, 3 insertions, 0 deletions
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") |