mirror of
https://github.com/django/daphne.git
synced 2024-11-25 09:13:44 +03:00
Linting and warning fixes
This commit is contained in:
parent
15e702f5e2
commit
f7e1f2112e
|
@ -1,4 +1,3 @@
|
||||||
import datetime
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
@ -72,7 +71,9 @@ class AccessLogGenerator:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
f"{request} {details}",
|
"%s %s",
|
||||||
|
request,
|
||||||
|
details,
|
||||||
extra={
|
extra={
|
||||||
"host": host,
|
"host": host,
|
||||||
"request": request,
|
"request": request,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user