From ecbda90d2d0dba4d65dd2f95e347cbc4152107e2 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 17 May 2024 13:21:37 +0300 Subject: mask: update removal line to match GLEP-84 Signed-off-by: Arthur Zamarin --- src/pkgdev/scripts/pkgdev_mask.py | 2 +- tests/scripts/test_pkgdev_mask.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkgdev/scripts/pkgdev_mask.py b/src/pkgdev/scripts/pkgdev_mask.py index 858c590..4ce2984 100644 --- a/src/pkgdev/scripts/pkgdev_mask.py +++ b/src/pkgdev/scripts/pkgdev_mask.py @@ -213,7 +213,7 @@ def get_comment(bugs, rites: int): tmp = tempfile.NamedTemporaryFile(mode="w") summary = [] if rites: - summary.append(f"Removal: {datetime.now(timezone.utc) + timedelta(days=rites):%Y-%m-%d}.") + summary.append(f"Removal on {datetime.now(timezone.utc) + timedelta(days=rites):%Y-%m-%d}.") if bugs: # Bug(s) #A, #B, #C bug_list = ", ".join(f"#{b}" for b in bugs) diff --git a/tests/scripts/test_pkgdev_mask.py b/tests/scripts/test_pkgdev_mask.py index d723535..8366ced 100644 --- a/tests/scripts/test_pkgdev_mask.py +++ b/tests/scripts/test_pkgdev_mask.py @@ -294,7 +294,7 @@ class TestPkgdevMask: f"""\ # First Last ({today}) # mask comment - # Removal: {removal}. + # Removal on {removal}. cat/pkg """ ) -- cgit v1.2.3-65-gdbad