corrected typo on aws connection arguments var
This commit is contained in:
parent
c998730152
commit
6a48f2207a
1 changed files with 2 additions and 2 deletions
|
@ -459,8 +459,8 @@ def main():
|
|||
walrus = urlparse.urlparse(s3_url).hostname
|
||||
s3 = boto.connect_walrus(walrus, **aws_connect_kwargs)
|
||||
else:
|
||||
aws_connect_args['is_secure'] = True
|
||||
s3 = connect_to_aws(boto.s3, location, **aws_connect_args)
|
||||
aws_connect_kwargs['is_secure'] = True
|
||||
s3 = connect_to_aws(boto.s3, location, **aws_connect_kwargs)
|
||||
# use this as fallback because connect_to_region seems to fail in boto + non 'classic' aws accounts in some cases
|
||||
if s3 is None:
|
||||
s3 = boto.connect_s3(**aws_connect_kwargs)
|
||||
|
|
Loading…
Reference in a new issue