Fix error in run_boto_script

This commit is contained in:
Cheng Zhao 2016-08-01 21:54:03 +09:00
parent d00bff4d94
commit c943e4a61f

View file

@ -220,13 +220,7 @@ def run_boto_script(access_key, secret_key, script_name, *args):
[env.get('PYTHONPATH', '')] + boto_path_dirs())
boto = os.path.join(BOTO_DIR, 'bin', script_name)
args = [
sys.executable,
boto
] + args
execute(args, env)
execute([sys.executable, boto] + list(args), env)
def s3put(bucket, access_key, secret_key, prefix, key_prefix, files):