Permalink
Browse files

IAM role typo fixes

  • Loading branch information...
1 parent f59ed4f commit ab14f867eca52aa48abf9c7b75a809dc2ceb5f77 @kohend kohend committed Mar 22, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 S3/CloudFront.py
  2. +1 −1 S3/SimpleDB.py
View
@@ -535,7 +535,7 @@ def create_request(self, operation, dist_id = None, request_id = None, headers =
headers["x-amz-date"] = time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime())
if len(self.config.access_token)>0:
- self.config.refresh_role()
+ self.config.role_refresh()
headers['x-amz-security-token']=self.config.access_token
signature = self.sign_request(headers)
View
@@ -132,7 +132,7 @@ def create_request(self, Action, DomainName, parameters = None):
if not parameters:
parameters = SortedDict()
if len(self.config.access_token) > 0:
- self.config.refresh_role()
+ self.config.role_refresh()
parameters['Signature']=self.config.access_token
parameters['AWSAccessKeyId'] = self.config.access_key
parameters['Version'] = self.Version

0 comments on commit ab14f86

Please sign in to comment.