mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Pep8
This commit is contained in:
parent
2176b209f7
commit
c6270e7e4e
|
@ -113,12 +113,12 @@ class CommandLineInterface(object):
|
|||
args = self.parser.parse_args(args)
|
||||
# Set up logging
|
||||
logging.basicConfig(
|
||||
level = {
|
||||
level={
|
||||
0: logging.WARN,
|
||||
1: logging.INFO,
|
||||
2: logging.DEBUG,
|
||||
}[args.verbosity],
|
||||
format = "%(asctime)-15s %(levelname)-8s %(message)s" ,
|
||||
format="%(asctime)-15s %(levelname)-8s %(message)s",
|
||||
)
|
||||
# If verbosity is 1 or greater, or they told us explicitly, set up access log
|
||||
access_log_stream = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user