Skip to content

Commit 607b9ef

Browse files
committed
Use 'master' by default in libpythonvm_build_args
1 parent 90df704 commit 607b9ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,11 @@ def libpythonvm_build_args():
290290
):
291291
vc = SUITE.vc
292292
commit = str(vc.tip(SUITE.dir)).strip()
293-
branch = str(vc.active_branch(SUITE.dir)).strip()
293+
try:
294+
branch = str(vc.active_branch(SUITE.dir)).strip()
295+
except Exception:
296+
branch = "master"
297+
294298
if shutil.which("artifact_download"):
295299
# This is always available in the GraalPy CI
296300
profile = "cached_profile.iprof.gz"

0 commit comments

Comments
 (0)