From f15a7fb588dfd5e4d6dca7f4d2e2159df1612a1a Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Fri, 12 Oct 2018 23:06:43 -0700 Subject: [PATCH] fix flake8 --- sanic/router.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sanic/router.py b/sanic/router.py index 642dcbc2..8ddba1a3 100644 --- a/sanic/router.py +++ b/sanic/router.py @@ -207,7 +207,9 @@ class Router: name, _type, pattern = self.parse_parameter_string(name) if name in parameter_names: - raise ParameterNameConflicts("Multiple parameter named <{name}> in route uri {uri}".format(name=name, uri=uri)) + raise ParameterNameConflicts( + "Multiple parameter named <{name}> " + "in route uri {uri}".format(name=name, uri=uri)) parameter_names.add(name) parameter = Parameter(