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
commitc4a4b7dd2d73b0707e78f6c9e85dc0447414c8dc (patch)
tree34cb957cf9f4391b2becb7299852bbbdfd544cba
parent954a2ee8ca790f1b3ad34206f51343fd96cff177 (diff)
downloadpython-coveragepy-git-c4a4b7dd2d73b0707e78f6c9e85dc0447414c8dc.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 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