We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678b9c5 commit 854d7b9Copy full SHA for 854d7b9
mx.graalpython/mx_graalpython.py
@@ -281,10 +281,7 @@ def libpythonvm_build_args():
281
):
282
vc = SUITE.vc
283
commit = str(vc.tip(SUITE.dir)).strip()
284
- try:
285
- branch = str(vc.active_branch(SUITE.dir)).strip()
286
- except Exception: # pylint: disable=broad-except
287
- branch = "master"
+ branch = str(vc.active_branch(SUITE.dir, abortOnError=False) or 'master').strip()
288
289
if script := os.environ.get("ARTIFACT_DOWNLOAD_SCRIPT"):
290
# This is always available in the GraalPy CI
0 commit comments