Use floor division operator instead of deprecated division operator.

This commit is contained in:
Raymond Hettinger 2011-04-11 17:45:01 -07:00
parent e4579c3380
commit 9d2ad441b9
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class CoverageResults:
lnotab, count)
if summary and n_lines:
percent = int(100 * n_hits / n_lines)
percent = 100 * n_hits // n_lines
sums[modulename] = n_lines, percent, modulename, filename
if summary and sums: