summaryrefslogtreecommitdiff
path: root/buildscripts/utils.py
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-02-18 01:55:34 -0500
committerEliot Horowitz <eliot@10gen.com>2012-02-18 01:55:34 -0500
commit2ebabdfbf48eda1c2278820c004605be83c281e5 (patch)
tree05e2b2e9f65e76fab2749ab4955d075171dba09d /buildscripts/utils.py
parent49405ce14fc98462a09f94b3c0b79ebe817aa6d3 (diff)
downloadmongo-2ebabdfbf48eda1c2278820c004605be83c281e5.tar.gz
Revert "BUILDBOT-58: use s3tool to do s3-related work (and remove old, unused s3 scripts)"
This reverts commit fc7cac22396ea51d38591ccda973714f815304f3.
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
-