From 6535ba7c2427cda8a0af2a4f24a0c939b3dfbb6e Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Tue, 14 Feb 2017 20:53:55 +0000 Subject: [PATCH] Fix mistake in warning --- sanic/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/server.py b/sanic/server.py index c4d3ad97..93568ebe 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -346,8 +346,8 @@ def serve(host, port, request_handler, error_handler, before_start=None, try: loop.add_signal_handler(_signal, loop.stop) except NotImplementedError: - log.warn(('Sanic tried to use loop.add_signal_handler') - ('but it is not implemented on this platform.')) + log.warn('Sanic tried to use loop.add_signal_handler but it is' + ' not implemented on this platform.') pid = os.getpid() try: