summaryrefslogtreecommitdiff
path: root/buildscripts/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/utils.py')
-rw-r--r--buildscripts/utils.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/buildscripts/utils.py b/buildscripts/utils.py
index d4b2fa8eced..f107930de80 100644
--- a/buildscripts/utils.py
+++ b/buildscripts/utils.py
@@ -182,15 +182,3 @@ def smoke_command(*args):
(find_python(), smoke_py),
args))
-def run_s3tool(settings_file, bucket_name, command, *args):
- if settings_file.endswith('.pyc'):
- settings_file = settings_file[:-1]
-
- here = os.path.dirname(__file__)
- s3tool = os.path.join(here, 's3tool')
- cmd = [find_python(), s3tool, '--config=%s' % settings_file, bucket_name, command]
- cmd.extend(args)
- print ' '.join(cmd)
- exitcode = subprocess.call(cmd)
- return exitcode == 0
-