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 | c4a4b7dd2d73b0707e78f6c9e85dc0447414c8dc (patch) | |
tree | 34cb957cf9f4391b2becb7299852bbbdfd544cba /coverage/control.py | |
parent | 954a2ee8ca790f1b3ad34206f51343fd96cff177 (diff) | |
download | python-coveragepy-git-c4a4b7dd2d73b0707e78f6c9e85dc0447414c8dc.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 cfe94096..71692de6 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 |