Skip to content

Commit

Permalink
Add missing argument for format string
Browse files Browse the repository at this point in the history
  • Loading branch information
os committed Nov 28, 2018
1 parent 7730144 commit 8c07685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zappa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2336,7 +2336,7 @@ def _clear_policy(self, lambda_name):
StatementId=s['Sid']
)
if delete_response['ResponseMetadata']['HTTPStatusCode'] != 204:
logger.error('Failed to delete an obsolete policy statement: {}'.format())
logger.error('Failed to delete an obsolete policy statement: {}'.format(policy_response))
else:
logger.debug('Failed to load Lambda function policy: {}'.format(policy_response))
except ClientError as e:
Expand Down

0 comments on commit 8c07685

Please sign in to comment.