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:
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r--build_files/buildbot/master_unpack.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py
index 612b686b49a..06c11b368b0 100644
--- a/build_files/buildbot/master_unpack.py
+++ b/build_files/buildbot/master_unpack.py
@@ -45,7 +45,9 @@ def get_platform(filename):
filename = strip_extension(filename)
tokens = filename.split("-")
- platforms = 'osx', 'mac', 'bsd', 'win', 'linux', 'source', 'irix', 'solaris'
+ platforms = ('osx', 'mac', 'bsd',
+ 'win', 'linux', 'source',
+ 'irix', 'solaris')
platform_tokens = []
found = False
@@ -90,7 +92,8 @@ packagename = os.path.basename(package)
platform = get_platform(packagename)
if platform == '':
- sys.stderr.write('Failed to detect platform from package: %r\n' % packagename)
+ sys.stderr.write('Failed to detect platform ' +
+ 'from package: %r\n' % packagename)
sys.exit(1)
# extract