commit:     ecbda90d2d0dba4d65dd2f95e347cbc4152107e2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 10:21:37 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri May 17 10:21:37 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=ecbda90d

mask: update removal line to match GLEP-84

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 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 <first.l...@email.com> ({today})
                         # mask comment
-                        # Removal: {removal}.
+                        # Removal on {removal}.
                         cat/pkg
                     """
                 )

Reply via email to