From b8cde74df0c7e7a89307984f9704a704fe38b32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20Bl=C3=B6m?= Date: Mon, 30 Jan 2017 14:02:06 -0800 Subject: [PATCH] Fixed issue with rebase --- sanic/sanic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sanic/sanic.py b/sanic/sanic.py index 4ac037e1..d1af3e55 100644 --- a/sanic/sanic.py +++ b/sanic/sanic.py @@ -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]