diff options
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py index 8ddc8ff34..3c5952aa1 100644 --- a/.ci/scripts/merge/apply-patches-by-label.py +++ b/.ci/scripts/merge/apply-patches-by-label.py | |||
| @@ -20,6 +20,7 @@ def check_individual(labels): | |||
| 20 | def do_page(page): | 20 | def do_page(page): |
| 21 | url = 'https://api.github.com/repos/yuzu-emu/yuzu/pulls?page=%s' % page | 21 | url = 'https://api.github.com/repos/yuzu-emu/yuzu/pulls?page=%s' % page |
| 22 | response = requests.get(url) | 22 | response = requests.get(url) |
| 23 | response.raise_for_status() | ||
| 23 | if (response.ok): | 24 | if (response.ok): |
| 24 | j = json.loads(response.content) | 25 | j = json.loads(response.content) |
| 25 | if j == []: | 26 | if j == []: |
| @@ -33,7 +34,7 @@ def do_page(page): | |||
| 33 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) | 34 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) |
| 34 | 35 | ||
| 35 | try: | 36 | try: |
| 36 | for i in range(1,30): | 37 | for i in range(1,10): |
| 37 | do_page(i) | 38 | do_page(i) |
| 38 | except: | 39 | except: |
| 39 | traceback.print_exc(file=sys.stdout) | 40 | traceback.print_exc(file=sys.stdout) |