summaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-10 17:17:18 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-10 17:17:18 +0100
commit6801542b636835c2abb07063448ce7416b12bbe2 (patch)
treea27b696f1545567955b4822fe623304ee6af5fdc /util.py
parente8ce7876c5869522f982073d70c3ee7be179e1f9 (diff)
overall coverage - 42%
Diffstat (limited to 'util.py')
-rw-r--r--util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.py b/util.py
index cae867b9..f08b88aa 100644
--- a/util.py
+++ b/util.py
@@ -88,7 +88,7 @@ def write_report(fn, title=None, keys=None, rows=[]):
print("{} {}".format(fn, count))
def percent(m, n):
- return round(n / m * 100)
+ return round(m / n * 100)
class NameLine(object):
def __init__(self, s):