From efc8dc32408482a7c5ddd5a2911f21526b6c013a Mon Sep 17 00:00:00 2001 From: p1c2u Date: Sun, 31 Jan 2021 12:37:14 +0000 Subject: [PATCH] path finder comment line too long fix --- openapi_core/templating/paths/finders.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi_core/templating/paths/finders.py b/openapi_core/templating/paths/finders.py index 394ce19..1ec284e 100644 --- a/openapi_core/templating/paths/finders.py +++ b/openapi_core/templating/paths/finders.py @@ -41,7 +41,8 @@ class PathFinder(object): def _get_paths_iter(self, full_url_pattern): template_paths = [] for path_pattern, path in iteritems(self.spec.paths): - # simple path. Return right away since it is always the most concrete + # simple path. + # Return right away since it is always the most concrete if full_url_pattern.endswith(path_pattern): path_result = TemplateResult(path_pattern, {}) yield (path, path_result)