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:
authorCampbell Barton <ideasman42@gmail.com>2015-01-29 07:35:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-29 07:35:06 +0300
commit7095f4766593cc2b55669b032d7de0fa13fcb4c7 (patch)
tree3567f182b513225a1b522b75e144eb5b75d1b6e2 /build_files/buildbot/master_unpack.py
parentd434815ff7c586f6e54af667e37c9d2d12726416 (diff)
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r--build_files/buildbot/master_unpack.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py
index 56ab80dc87f..46131c5e1de 100644
--- a/build_files/buildbot/master_unpack.py
+++ b/build_files/buildbot/master_unpack.py
@@ -37,6 +37,7 @@ def strip_extension(filename):
return filename
+
# extract platform from package name
def get_platform(filename):
# name is blender-version-platform.extension. we want to get the
@@ -64,10 +65,11 @@ def get_platform(filename):
return '-'.join(platform_tokens)
+
def get_branch(filename):
tokens = filename.split("-")
branch = ""
-
+
for token in tokens:
if token == "blender":
return branch