summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorGravatar Morph2023-01-29 19:51:36 -0500
committerGravatar Morph2023-01-29 19:53:14 -0500
commite711188be798b7286fa878fd4e9ab6456438675d (patch)
tree1077857e92e93541d3c47f396756a277f5ba41e1 /.ci
parentapply-patches-by-label: Use python f-strings (diff)
downloadyuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.gz
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.xz
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.zip
apply-patches-by-label: Remove unused variables and imports
Diffstat (limited to '.ci')
-rw-r--r--.ci/scripts/merge/apply-patches-by-label.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py
index a31c0aac4..17bb7dc13 100644
--- a/.ci/scripts/merge/apply-patches-by-label.py
+++ b/.ci/scripts/merge/apply-patches-by-label.py
@@ -2,15 +2,12 @@
2# SPDX-License-Identifier: GPL-2.0-or-later 2# SPDX-License-Identifier: GPL-2.0-or-later
3 3
4# Download all pull requests as patches that match a specific label 4# Download all pull requests as patches that match a specific label
5# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> 5# Usage: python apply-patches-by-label.py <Label to Match>
6 6
7import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback 7import json, requests, subprocess, sys, traceback
8 8
9tagline = sys.argv[2] 9tagline = sys.argv[2]
10 10
11http = urllib3.PoolManager()
12dl_list = {}
13
14def check_individual(labels): 11def check_individual(labels):
15 for label in labels: 12 for label in labels:
16 if (label["name"] == sys.argv[1]): 13 if (label["name"] == sys.argv[1]):