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 0A3AD15ACFB for ; Thu, 13 Apr 2023 17:36:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 498ECE083E; Thu, 13 Apr 2023 17:36:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F573E083E for ; Thu, 13 Apr 2023 17:36:36 +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 1844E335DC8 for ; Thu, 13 Apr 2023 17:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72F9B8AC for ; Thu, 13 Apr 2023 17:36:31 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1681407191.ffa7706c877f8aafaa62ada3b45fcd56e5769ae8.robbat2@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: leaf-packages.py X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: ffa7706c877f8aafaa62ada3b45fcd56e5769ae8 X-VCS-Branch: master Date: Thu, 13 Apr 2023 17:36:31 +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: 3c80f919-5a43-4643-afeb-ab39a41ef65d X-Archives-Hash: 5bd9f1cdaff9aed4dbea112537cc4f78 commit: ffa7706c877f8aafaa62ada3b45fcd56e5769ae8 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Apr 13 17:33:11 2023 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Thu Apr 13 17:33:11 2023 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=ffa7706c leaf-packages: pylint Signed-off-by: Robin H. Johnson gentoo.org> leaf-packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leaf-packages.py b/leaf-packages.py index 976cb31..448f7cf 100755 --- a/leaf-packages.py +++ b/leaf-packages.py @@ -8,7 +8,7 @@ import re import subprocess import sys -method="pkgcore" +METHOD="pkgcore" def main() -> None: if len(sys.argv) > 1: @@ -21,7 +21,7 @@ def main() -> None: for ebuild in zero_in_degree: # Let the executor run function call # update_for_deps_of(ebuild, zero_in_degree) - if method == "pkgcore": + if METHOD == "pkgcore": executor.submit(update_for, ebuild, zero_in_degree, repo) else: executor.submit(update_for_deps_of, ebuild, zero_in_degree)