summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rw-r--r--check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 6db82d6..dcefc18 100644
--- a/check.py
+++ b/check.py
@@ -37,7 +37,7 @@ def process(fn):
line = line.rstrip('\n')
sline = line.rstrip()
if len(line) >= 80 or line != sline or not isascii(line):
- print('{}:{:d}:{}{}'.format(
+ print('{0}:{1:d}:{2}{3}'.format(
fn, i+1, sline, '_' * (len(line) - len(sline))))
finally:
f.close()