From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B36F415817D for ; Wed, 12 Jun 2024 10:35:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02CFE2BC016; Wed, 12 Jun 2024 10:35:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D17A62BC016 for ; Wed, 12 Jun 2024 10:35:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12231335DCC for ; Wed, 12 Jun 2024 10:35:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A44001C7B for ; Wed, 12 Jun 2024 10:35:48 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1718188512.63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgdev:main commit in: src/pkgdev/scripts/ X-VCS-Repository: proj/pkgcore/pkgdev X-VCS-Files: src/pkgdev/scripts/pkgdev_mask.py X-VCS-Directories: src/pkgdev/scripts/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8 X-VCS-Branch: main Date: Wed, 12 Jun 2024 10:35:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84991e2e-323a-4a6f-928e-3387ff5a3b18 X-Archives-Hash: 33dcd180d1c4fcfec3bbff603c2b8716 commit: 63bd3b696bcc2a32ab5fa2448f98b6b9817d5ba8 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Jun 12 10:35:12 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Jun 12 10:35:12 2024 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=63bd3b69 mask: support filing bugs with no dependent bugs Signed-off-by: Arthur Zamarin gentoo.org> src/pkgdev/scripts/pkgdev_mask.py | 2 ++ 1 file changed, 2 insertions(+) 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,