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 traceback import format_exc
|
||||||
|
|
||||||
from .config import Config
|
from .config import Config
|
||||||
from .handlers import ErrorHandler
|
|
||||||
from .constants import HTTP_METHODS
|
from .constants import HTTP_METHODS
|
||||||
from .exceptions import ServerError
|
from .exceptions import ServerError
|
||||||
from .handlers import ErrorHandler
|
from .handlers import ErrorHandler
|
||||||
|
@ -402,7 +401,7 @@ class Sanic:
|
||||||
("after_server_start", "after_start", after_start, False),
|
("after_server_start", "after_start", after_start, False),
|
||||||
("before_server_stop", "before_stop", before_stop, True),
|
("before_server_stop", "before_stop", before_stop, True),
|
||||||
("after_server_stop", "after_stop", after_stop, True),
|
("after_server_stop", "after_stop", after_stop, True),
|
||||||
):
|
):
|
||||||
listeners = []
|
listeners = []
|
||||||
for blueprint in self.blueprints.values():
|
for blueprint in self.blueprints.values():
|
||||||
listeners += blueprint.listeners[event_name]
|
listeners += blueprint.listeners[event_name]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user