fix flake8

This commit is contained in:
Yun Xu 2018-10-12 23:06:43 -07:00
parent 1bdf9ca057
commit f15a7fb588

View File

@ -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(