aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-13 10:33:11 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-13 10:33:11 -0700
commitffa7706c877f8aafaa62ada3b45fcd56e5769ae8 (patch)
tree0e4b9cc7c64a965f19be62341716484e88a21b71
parentgenrdeps-index: Use new pkgcore API (diff)
downloadqa-scripts-ffa7706c877f8aafaa62ada3b45fcd56e5769ae8.tar.gz
qa-scripts-ffa7706c877f8aafaa62ada3b45fcd56e5769ae8.tar.bz2
qa-scripts-ffa7706c877f8aafaa62ada3b45fcd56e5769ae8.zip
leaf-packages: pylint
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xleaf-packages.py4
1 files 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)