diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-02 09:53:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-02 09:53:42 +0400 |
commit | 7690086d20c58872659da30e1ee7ebf404681f46 (patch) | |
tree | 2317777eaadb0dcf1f23ceec2f250beff51209ef /build_files/buildbot/master_unpack.py | |
parent | f1b42a129f0f9299a9e67eb0495131a37464c9cc (diff) |
pep8 fixes for buildbot
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r-- | build_files/buildbot/master_unpack.py | 7 |
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 |