Fixed issue with rebase
This commit is contained in:
parent
d1088f0274
commit
b8cde74df0
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user