diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-08-04 17:54:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-08-04 17:54:18 +0300 |
commit | 9538e3870470b90c0f97ebbdb21b334c5f8dc43a (patch) | |
tree | 91baa179fa29b54865b9bec56debc8b6bb622c64 /build_files/buildbot/buildbot_utils.py | |
parent | 16c7b6a7fe5068c6d5384378759f799ed9e273d6 (diff) |
Fix buildbot packaging error after recent changes
Diffstat (limited to 'build_files/buildbot/buildbot_utils.py')
-rw-r--r-- | build_files/buildbot/buildbot_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build_files/buildbot/buildbot_utils.py b/build_files/buildbot/buildbot_utils.py index 287c3854377..a0c33155da1 100644 --- a/build_files/buildbot/buildbot_utils.py +++ b/build_files/buildbot/buildbot_utils.py @@ -33,10 +33,11 @@ def is_tool(name): return which(name) is not None class Builder: - def __init__(self, name, branch): + def __init__(self, name, branch, codesign): self.name = name self.branch = branch self.is_release_branch = re.match("^blender-v(.*)-release$", branch) is not None + self.codesign = codesign # Buildbot runs from build/ directory self.blender_dir = os.path.abspath(os.path.join('..', 'blender.git')) @@ -69,7 +70,7 @@ def create_builder_from_arguments(): parser.add_argument('branch', default='master', nargs='?') parser.add_argument("--codesign", action="store_true") args = parser.parse_args() - return Builder(args.builder_name, args.branch) + return Builder(args.builder_name, args.branch, args.codesign) class VersionInfo: |