Fix mistake in warning
This commit is contained in:
parent
5c29c3d160
commit
0c9500efcd
|
@ -344,8 +344,8 @@ def serve(host, port, request_handler, error_handler, before_start=None,
|
||||||
try:
|
try:
|
||||||
loop.add_signal_handler(_signal, loop.stop)
|
loop.add_signal_handler(_signal, loop.stop)
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
log.warn(('Sanic tried to use loop.add_signal_handler')
|
log.warn('Sanic tried to use loop.add_signal_handler but it is'
|
||||||
('but it is not implemented on this platform.'))
|
' not implemented on this platform.')
|
||||||
|
|
||||||
pid = os.getpid()
|
pid = os.getpid()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user