Skip to content

Commit ecbda90

Browse files
committed
mask: update removal line to match GLEP-84
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 95300aa commit ecbda90

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pkgdev/scripts/pkgdev_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def get_comment(bugs, rites: int):
213213
tmp = tempfile.NamedTemporaryFile(mode="w")
214214
summary = []
215215
if rites:
216-
summary.append(f"Removal: {datetime.now(timezone.utc) + timedelta(days=rites):%Y-%m-%d}.")
216+
summary.append(f"Removal on {datetime.now(timezone.utc) + timedelta(days=rites):%Y-%m-%d}.")
217217
if bugs:
218218
# Bug(s) #A, #B, #C
219219
bug_list = ", ".join(f"#{b}" for b in bugs)

tests/scripts/test_pkgdev_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_last_rites(self):
294294
f"""\
295295
# First Last <first.last@email.com> ({today})
296296
# mask comment
297-
# Removal: {removal}.
297+
# Removal on {removal}.
298298
cat/pkg
299299
"""
300300
)

0 commit comments

Comments
 (0)