Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 24, 2024
1 parent e5e5f1b commit e0cdc78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cheroot/workers/threadpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ def _process_connections_until_interrupted(self):
self.server.error_log(
'Got a connection error while handling a '
f'connection from {conn.remote_addr !s}:'
f'{conn.remote_port !s} ({connection_error !s})',
f'{conn.remote_port !s} ({connection_error !s},
)',
level=logging.INFO,
)
continue
Expand All @@ -179,7 +180,8 @@ def _process_connections_until_interrupted(self):
self.server.error_log(
'Got a server shutdown request while handling a '
f'connection from {conn.remote_addr !s}:'
f'{conn.remote_port !s} ({shutdown_request !s})',
f'{conn.remote_port !s} ({shutdown_request !s},
)',
level=logging.DEBUG,
)
raise SystemExit(
Expand Down

0 comments on commit e0cdc78

Please sign in to comment.