Skip to content

Commit 1b246cf

Browse files
committed
whitespace: fix double "on" in result text
Resolves: #633 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 013b8d6 commit 1b246cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pkgcheck/checks/whitespace.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ def __init__(self, leadtrail, **kwargs):
2020

2121
@property
2222
def desc(self):
23-
return f"ebuild has {self.leadtrail} whitespace on {self.lines_str}"
23+
return f"ebuild has {self.leadtrail} whitespace {self.lines_str}"
2424

2525

2626
class WrongIndentFound(_Whitespace):
2727
"""Incorrect indentation whitespace found."""
2828

2929
@property
3030
def desc(self):
31-
return f"ebuild has whitespace in indentation on {self.lines_str}"
31+
return f"ebuild has whitespace in indentation {self.lines_str}"
3232

3333

3434
class DoubleEmptyLine(_Whitespace):
3535
"""Unneeded blank lines found."""
3636

3737
@property
3838
def desc(self):
39-
return f"ebuild has unneeded empty line on {self.lines_str}"
39+
return f"ebuild has unneeded empty line {self.lines_str}"
4040

4141

4242
class TrailingEmptyLine(results.VersionResult, results.Style):

0 commit comments

Comments
 (0)