Skip to content

Commit aa19ba3

Browse files
committed
mask: fix unrelated addition of trailing whitespace
Resolves: #97 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 99de77e commit aa19ba3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pkgdev/scripts/pkgdev_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Mask:
110110

111111
def __str__(self):
112112
lines = [f'# {self.author} <{self.email}> ({self.date})']
113-
lines.extend(f'# {x}' for x in self.comment)
113+
lines.extend(f'# {x}' if x else '#' for x in self.comment)
114114
lines.extend(map(str, self.atoms))
115115
return '\n'.join(lines)
116116

0 commit comments

Comments
 (0)