Skip to content

Commit

Permalink
Update bandit/plugins/request_without_timeout.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwb committed Jun 25, 2024
1 parent 0ee786c commit 9920484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bandit/plugins/request_without_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def request_without_timeout(context):
severity=bandit.MEDIUM,
confidence=bandit.LOW,
cwe=issue.Cwe.UNCONTROLLED_RESOURCE_CONSUMPTION,
text="Call to {qualname} without timeout",
text=f"Call to {qualname} without timeout",
)
# check for timeout=None
if context.check_call_arg_value("timeout", "None"):
Expand Down

0 comments on commit 9920484

Please sign in to comment.