diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-22 01:37:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-22 01:37:08 +0300 |
commit | 4bca2e455d5d5232cfbf36897427cb75f66e54aa (patch) | |
tree | 49099e04e4b6c0c4f6d273b9f873e8311e51cfba /build_files/buildbot/slave_pack.py | |
parent | 379f55f54ca67ed29a221a57777729c422e5e3af (diff) |
use spaces rather then tabs + minor pep8 edits.
Diffstat (limited to 'build_files/buildbot/slave_pack.py')
-rw-r--r-- | build_files/buildbot/slave_pack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py index 5fdcda51f5c..6710591d0d7 100644 --- a/build_files/buildbot/slave_pack.py +++ b/build_files/buildbot/slave_pack.py @@ -25,6 +25,7 @@ import subprocess import sys import zipfile + # find release directory def find_release_directory(): for d in os.listdir('.'): @@ -32,7 +33,7 @@ def find_release_directory(): rd = os.path.join(d, 'release') if os.path.exists(rd): return rd - + return None # clean release directory if it already exists @@ -84,4 +85,3 @@ try: except Exception, ex: sys.stderr.write('Create buildbot_upload.zip failed' + str(ex) + '\n') sys.exit(1) - |