summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 3a0b0107..e8d4bc95 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -716,7 +716,7 @@ class Coverage(object):
# Touch all the files that could have executed, so that we can
# mark completely unexecuted files as 0% covered.
- if self._data:
+ if self._data is not None:
for file_path, plugin_name in self._inorout.find_possibly_unexecuted_files():
file_path = self._file_mapper(file_path)
self._data.touch_file(file_path, plugin_name)