From c6270e7e4e099198137f660942feefba955d978d Mon Sep 17 00:00:00 2001 From: Krukov Dima Date: Fri, 16 Sep 2016 20:34:20 +0000 Subject: [PATCH] Pep8 --- daphne/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daphne/cli.py b/daphne/cli.py index 57724ef..ac99e24 100755 --- a/daphne/cli.py +++ b/daphne/cli.py @@ -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