diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-04 09:25:13 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-04 09:25:13 -0400 |
commit | f94f6a874e8466ecd825b796419606225a770668 (patch) | |
tree | 5db8ed191a23323b96b1bf61ab04d4aebebed28a /coverage/collector.py | |
parent | 1ffbdc3328de90783d0ba962838b3f7924adf77c (diff) | |
download | python-coveragepy-f94f6a874e8466ecd825b796419606225a770668.tar.gz |
New flag for run: --debug, can trace why files aren't being traced.
Diffstat (limited to 'coverage/collector.py')
-rw-r--r-- | coverage/collector.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/collector.py b/coverage/collector.py index 781a0fa..2abec16 100644 --- a/coverage/collector.py +++ b/coverage/collector.py @@ -166,7 +166,7 @@ class Collector(object): """Create a collector. `should_trace` is a function, taking a filename, and returning a - canonicalized filename, or False depending on whether the file should + canonicalized filename, or None depending on whether the file should be traced or not. If `timid` is true, then a slower simpler trace function will be @@ -210,7 +210,7 @@ class Collector(object): # A cache of the results from should_trace, the decision about whether # to trace execution in a file. A dict of filename to (filename or - # False). + # None). self.should_trace_cache = {} # Our active Tracers. |