diff options
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r-- | coverage/sqldata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 5e7edd72..10d4e577 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -463,9 +463,9 @@ class CoverageData(SimpleReprMixin): `plugin_name` is the name of the plugin responsible for this file. It is used to associate the right filereporter, etc. """ - self._start_using() if self._debug.should('dataop'): self._debug.write("Touching %r" % (filename,)) + self._start_using() if not self._has_arcs and not self._has_lines: raise CoverageException("Can't touch files in an empty CoverageData") |