aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-12 13:35:12 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-12 13:35:12 +0300
commit63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8 (patch)
treec9b25515fdab7ab1e6c8314a343d93eb8972a316
parentmask: fix test & improve error messages (diff)
downloadpkgdev-63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8.tar.gz
pkgdev-63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8.tar.bz2
pkgdev-63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8.zip
mask: support filing bugs with no dependent bugs
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgdev/scripts/pkgdev_mask.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkgdev/scripts/pkgdev_mask.py b/src/pkgdev/scripts/pkgdev_mask.py
index 450c52c..d1d2249 100644
--- a/src/pkgdev/scripts/pkgdev_mask.py
+++ b/src/pkgdev/scripts/pkgdev_mask.py
@@ -328,6 +328,8 @@ def file_last_rites_bug(options, message: str) -> int:
def update_bugs_pmasked(api_key: str, bugs: list[int]):
+ if not bugs:
+ return True
request_data = dict(
Bugzilla_api_key=api_key,
ids=bugs,