Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Remove duplicate id
Browse files Browse the repository at this point in the history
  • Loading branch information
oterral committed Jul 3, 2018
1 parent 7e2beca commit b7d18a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/s3manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def main():
print(parse_arguments(sys.argv))
cmd_type, deploy_target, base_dir, named_branch, git_branch, bucket_name, s3_path = \
parse_arguments(sys.argv)
for var in ('AWS_PROFILE', 'AWS_ACCESS_KEY_ID', 'AWS_ACCESS_KEY_ID'):
for var in ('AWS_PROFILE', 'AWS_ACCESS_KEY_ID'):
val = os.environ.get(var)
if val is not None:
print('Please unset: {}. We use instance roles'.format(var))
Expand Down

0 comments on commit b7d18a8

Please sign in to comment.