Skip to content

Commit

Permalink
Fix formatting of expected_keys list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgromero committed Jan 3, 2025
1 parent e8b7d8a commit 2c9299f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions botocore/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,12 +596,7 @@ def _expiry_datetime(time_str):
return parse(time_str)

def _set_from_data(self, data):
expected_keys = [
'access_key',
'secret_key',
'token',
'expiry_time',
]
expected_keys = ['access_key', 'secret_key', 'token', 'expiry_time']
if not data:
missing_keys = expected_keys
else:
Expand Down

0 comments on commit 2c9299f

Please sign in to comment.