diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 (GMT) |
commit | 0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a (patch) | |
tree | 6d84cc9f2da9f24dd76871e75a80e618fd519a27 /Lib/trace.py | |
parent | 0822ff7ccab0465cf4377176089dfdbabbd0a35b (diff) | |
download | cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.zip cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.gz cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/trace.py')
-rw-r--r-- | Lib/trace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/trace.py b/Lib/trace.py index cda7258..9575911 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -268,7 +268,7 @@ class CoverageResults: coverpath = os.path.join(dir, modulename + ".cover") n_hits, n_lines = self.write_results_file(coverpath, source, lnotab, count) - + if summary and n_lines: percent = int(100 * n_hits / n_lines) sums[modulename] = n_lines, percent, modulename, filename @@ -467,7 +467,7 @@ class Trace: def globaltrace_countfuncs(self, frame, why, arg): """Handler for call events. - + Adds (filename, modulename, funcname) to the self._calledfuncs dict. """ if why == 'call': |