fix flake8
This commit is contained in:
parent
1bdf9ca057
commit
f15a7fb588
|
@ -207,7 +207,9 @@ class Router:
|
||||||
name, _type, pattern = self.parse_parameter_string(name)
|
name, _type, pattern = self.parse_parameter_string(name)
|
||||||
|
|
||||||
if name in parameter_names:
|
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_names.add(name)
|
||||||
|
|
||||||
parameter = Parameter(
|
parameter = Parameter(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user