String formatting and max line length - Part 2 (#84393)
This commit is contained in:
parent
7e682af472
commit
cb13418bab
69 changed files with 431 additions and 174 deletions
|
@ -116,7 +116,10 @@ async def process_wrong_login(request: Request) -> None:
|
|||
gethostbyaddr, request.remote
|
||||
)
|
||||
|
||||
base_msg = f"Login attempt or request with invalid authentication from {remote_host} ({remote_addr})."
|
||||
base_msg = (
|
||||
"Login attempt or request with invalid authentication from"
|
||||
f" {remote_host} ({remote_addr})."
|
||||
)
|
||||
|
||||
# The user-agent is unsanitized input so we only include it in the log
|
||||
user_agent = request.headers.get("user-agent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue