Fixed issue with rebase

This commit is contained in:
Kyle Blöm 2017-01-30 14:02:06 -08:00
parent d1088f0274
commit b8cde74df0

View File

@ -7,7 +7,6 @@ from inspect import isawaitable, stack, getmodulename
from traceback import format_exc
from .config import Config
from .handlers import ErrorHandler
from .constants import HTTP_METHODS
from .exceptions import ServerError
from .handlers import ErrorHandler
@ -402,7 +401,7 @@ class Sanic:
("after_server_start", "after_start", after_start, False),
("before_server_stop", "before_stop", before_stop, True),
("after_server_stop", "after_stop", after_stop, True),
):
):
listeners = []
for blueprint in self.blueprints.values():
listeners += blueprint.listeners[event_name]