Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 14:06:48 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 14:07:19 +0400
commit84eeff034805f3b13d0cb2f5f52d4edab5aa964c (patch)
tree709a92eded680543be8fc7e26ef081e80f641859 /build_files
parentde54b031c61a180f28e87a30d436eed7b420bdcc (diff)
Buildbot: Fix for branch detection from the file name
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/master_unpack.py6
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