diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-10 12:32:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-10 12:32:07 -0500 |
commit | bcf1e4a137561104fc454aa57f478cd6d50c6ca8 (patch) | |
tree | 377bbd7659dc6e8de85d45e9aef27d5828f8e1d8 /coverage/control.py | |
parent | ccb6896d0717c83147a43f4e25f7f76c9a8807e4 (diff) | |
download | python-coveragepy-bcf1e4a137561104fc454aa57f478cd6d50c6ca8.tar.gz |
Don't ask all plugins about executable files, only ask file tracers
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py index cfe9409..71692de 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -900,7 +900,7 @@ class Coverage(object): def _find_plugin_files(self, src_dir): """Get executable files from the plugins.""" - for plugin in self.plugins: + for plugin in self.plugins.file_tracers: for x_file in plugin.find_executable_files(src_dir): yield x_file, plugin._coverage_plugin_name |