mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-25 12:46:42 +00:00
apply-patches-by-label: Remove unused variables and imports
This commit is contained in:
parent
0f04cabf84
commit
e711188be7
|
@ -2,15 +2,12 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
# Download all pull requests as patches that match a specific label
|
# 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]
|
tagline = sys.argv[2]
|
||||||
|
|
||||||
http = urllib3.PoolManager()
|
|
||||||
dl_list = {}
|
|
||||||
|
|
||||||
def check_individual(labels):
|
def check_individual(labels):
|
||||||
for label in labels:
|
for label in labels:
|
||||||
if (label["name"] == sys.argv[1]):
|
if (label["name"] == sys.argv[1]):
|
||||||
|
|
Loading…
Reference in a new issue