Permalink
Browse files

Merge pull request #145 from dudyk/IAM-fixes

IAM role typo fixes
  • Loading branch information...
2 parents f59ed4f + ab14f86 commit 01f587b57252ef918be13c48f548de668565441d @mludvig mludvig committed Mar 25, 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 01f587b

Please sign in to comment.