summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/merge
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-01-30 01:51:36 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-01-30 01:53:14 +0100
commite711188be798b7286fa878fd4e9ab6456438675d (patch)
tree1077857e92e93541d3c47f396756a277f5ba41e1 /.ci/scripts/merge
parentapply-patches-by-label: Use python f-strings (diff)
downloadyuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.gz
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.bz2
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.lz
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.xz
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.tar.zst
yuzu-e711188be798b7286fa878fd4e9ab6456438675d.zip
Diffstat (limited to '.ci/scripts/merge')
-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]):