commit:     ffa7706c877f8aafaa62ada3b45fcd56e5769ae8
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 13 17:33:11 2023 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <robbat2 <AT> 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)

Reply via email to