Skip to content

Commit

Permalink
Remove the list (#969)
Browse files Browse the repository at this point in the history
No need to construct a list
  • Loading branch information
Fokko committed Sep 19, 2022
1 parent fbfeb12 commit 585d6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiobotocore/config.py
Expand Up @@ -38,7 +38,7 @@ def _validate_connector_args(connector_args):
raise ParamValidationError(
report=f'{k} value must be a boolean'
)
elif k in ['keepalive_timeout']:
elif k == 'keepalive_timeout':
if v is not None and not isinstance(v, (float, int)):
raise ParamValidationError(
report=f'{k} value must be a float/int or None'
Expand Down

0 comments on commit 585d6ff

Please sign in to comment.