From 04af3d363a6e2ace303c9d7fad5434b8c895e7b9 Mon Sep 17 00:00:00 2001 From: AnHeuermann <38031952+AnHeuermann@users.noreply.github.com> Date: Wed, 25 Mar 2026 10:59:09 +0100 Subject: [PATCH] Don't fail all-reporst.py when branch history is missing * If the history HTML for a branch is missing the script fails. E.g. if v1.26-cpp is missing all other branches afterwards aren't reported any more. --- all-reports.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/all-reports.py b/all-reports.py index 3afc1b9..07f0c6e 100755 --- a/all-reports.py +++ b/all-reports.py @@ -79,7 +79,7 @@ def modelLink(libname, modelname, extension, text): continue else: v = one[0] - except: + except: #raise Exception("No such table '%s'; specify it using --branch=XXX" % branch) print("No such table '%s'; specify it using --branch=XXX when running test.py" % branch) # ignore this table and continue @@ -95,7 +95,8 @@ def modelLink(libname, modelname, extension, text): urlContents = urllib.request.urlopen(urlToOpen).read().decode('utf-8') except: print(urlToOpen + " failed to open") - raise + missing_branches.append(branch) + continue generated = False @@ -143,13 +144,13 @@ def modelLink(libname, modelname, extension, text): gitlog = "