diff options
| author | 2023-01-29 19:51:36 -0500 | |
|---|---|---|
| committer | 2023-01-29 19:53:14 -0500 | |
| commit | e711188be798b7286fa878fd4e9ab6456438675d (patch) | |
| tree | 1077857e92e93541d3c47f396756a277f5ba41e1 /.ci | |
| parent | apply-patches-by-label: Use python f-strings (diff) | |
| download | yuzu-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.py | 7 |
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 | ||
| 7 | import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback | 7 | import json, requests, subprocess, sys, traceback |
| 8 | 8 | ||
| 9 | tagline = sys.argv[2] | 9 | tagline = sys.argv[2] |
| 10 | 10 | ||
| 11 | http = urllib3.PoolManager() | ||
| 12 | dl_list = {} | ||
| 13 | |||
| 14 | def check_individual(labels): | 11 | def 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]): |