Skip to content

Commit 481eaf7

Browse files
committed
[IMP] endpoint_route_handler: pre-commit stuff
1 parent 129e64d commit 481eaf7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

endpoint_route_handler/models/endpoint_route_handler.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ def _check_route_unique_across_models(self):
8080
clashing_models.append(model)
8181
if clashing_models:
8282
raise exceptions.UserError(
83-
_(
84-
"Non unique route(s): %(routes)s.\n"
85-
"Found in model(s): %(models)s.\n"
86-
)
83+
_("Non unique route(s): %(routes)s.\nFound in model(s): %(models)s.\n")
8784
% {"routes": ", ".join(routes), "models": ", ".join(clashing_models)}
8885
)
8986

0 commit comments

Comments
 (0)