[Bf-blender-cvs] [9d6e960e2c3] master: Fix `make_utils.py` recent API breackage.

Bastien Montagne noreply at git.blender.org
Mon Sep 13 11:41:54 CEST 2021


Commit: 9d6e960e2c3b65f7b4fbe35db3b832f1fd3d7f30
Author: Bastien Montagne
Date:   Mon Sep 13 11:38:54 2021 +0200
Branches: master
https://developer.blender.org/rB9d6e960e2c3b65f7b4fbe35db3b832f1fd3d7f30

Fix `make_utils.py` recent API breackage.

rB546314fc9669 broke `svn_libraries_base_url` utils API compatibility
for no good reasons, making new `branch` argument explicitely optional.

Reported on chat by  Michael Kowalski (@makowalski), thanks!

===================================================================

M	build_files/utils/make_utils.py

===================================================================

diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py
index 7cd23baad68..db352ff7e16 100755
--- a/build_files/utils/make_utils.py
+++ b/build_files/utils/make_utils.py
@@ -70,7 +70,7 @@ def git_branch_release_version(branch, tag):
     return release_version
 
 
-def svn_libraries_base_url(release_version, branch):
+def svn_libraries_base_url(release_version, branch=None):
     if release_version:
         svn_branch = "tags/blender-" + release_version + "-release"
     elif branch:



More information about the Bf-blender-cvs mailing list