summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-02-10 12:32:07 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-02-10 12:32:07 -0500
commitbcf1e4a137561104fc454aa57f478cd6d50c6ca8 (patch)
tree377bbd7659dc6e8de85d45e9aef27d5828f8e1d8
parentccb6896d0717c83147a43f4e25f7f76c9a8807e4 (diff)
downloadpython-coveragepy-bcf1e4a137561104fc454aa57f478cd6d50c6ca8.tar.gz
Don't ask all plugins about executable files, only ask file tracers
-rw-r--r--coverage/control.py2
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