diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-15 14:06:48 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-15 14:07:19 +0400 |
commit | 84eeff034805f3b13d0cb2f5f52d4edab5aa964c (patch) | |
tree | 709a92eded680543be8fc7e26ef081e80f641859 /build_files/buildbot/master_unpack.py | |
parent | de54b031c61a180f28e87a30d436eed7b420bdcc (diff) |
Buildbot: Fix for branch detection from the file name
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r-- | build_files/buildbot/master_unpack.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py index 651a68b414e..efcc56328c9 100644 --- a/build_files/buildbot/master_unpack.py +++ b/build_files/buildbot/master_unpack.py @@ -71,14 +71,14 @@ def get_branch(filename): branch = "" for token in tokens: + if token == "blender": + return branch + if branch == "": branch = token else: branch = branch + "-" + token - if token == "blender": - return branch - return "" # get filename |