aboutsummaryrefslogtreecommitdiffhomepage
path: root/.ci/scripts/merge/apply-patches-by-label.py
diff options
context:
space:
mode:
authorMorph <[email protected]>2023-01-29 19:51:36 -0500
committerMorph <[email protected]>2023-01-29 19:53:14 -0500
commite711188be798b7286fa878fd4e9ab6456438675d (patch)
tree1077857e92e93541d3c47f396756a277f5ba41e1 /.ci/scripts/merge/apply-patches-by-label.py
parent0f04cabf84a10ad461dd1db2e3535f3e987be29f (diff)
downloadyuzu-mainline-e711188be798b7286fa878fd4e9ab6456438675d.tar.gz
yuzu-mainline-e711188be798b7286fa878fd4e9ab6456438675d.zip
apply-patches-by-label: Remove unused variables and imports
Diffstat (limited to '.ci/scripts/merge/apply-patches-by-label.py')
-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 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Download all pull requests as patches that match a specific label
-# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to>
+# Usage: python apply-patches-by-label.py <Label to Match>
-import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback
+import json, requests, subprocess, sys, traceback
tagline = sys.argv[2]
-http = urllib3.PoolManager()
-dl_list = {}
-
def check_individual(labels):
for label in labels:
if (label["name"] == sys.argv[1]):