diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-12 13:35:12 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-12 13:35:12 +0300 |
commit | 63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8 (patch) | |
tree | c9b25515fdab7ab1e6c8314a343d93eb8972a316 | |
parent | mask: fix test & improve error messages (diff) | |
download | pkgdev-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.py | 2 |
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, |