diff options
author | 2024-05-17 13:21:37 +0300 | |
---|---|---|
committer | 2024-05-17 13:21:37 +0300 | |
commit | ecbda90d2d0dba4d65dd2f95e347cbc4152107e2 (patch) | |
tree | f9f1ecbfdc92f8023ff68d396fa3b0619d8d3b08 | |
parent | start work on 0.2.11 (diff) | |
download | pkgdev-ecbda90d2d0dba4d65dd2f95e347cbc4152107e2.tar.gz pkgdev-ecbda90d2d0dba4d65dd2f95e347cbc4152107e2.tar.bz2 pkgdev-ecbda90d2d0dba4d65dd2f95e347cbc4152107e2.zip |
mask: update removal line to match GLEP-84
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgdev/scripts/pkgdev_mask.py | 2 | ||||
-rw-r--r-- | 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.last@email.com> ({today}) # mask comment - # Removal: {removal}. + # Removal on {removal}. cat/pkg """ ) |