Skip to content

Commit fd8da15

Browse files
committed
fix(main.py): Fix pylint warning
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
1 parent 9a955f4 commit fd8da15

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

api/main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,10 +1114,9 @@ def traceback_exception_handler(request: Request, exc: Exception):
11141114
)
11151115

11161116

1117-
"""Workaround to use global exception handlers for versioned API.
1118-
The issue has already been reported here:
1119-
https://github.com/DeanWay/fastapi-versioning/issues/30
1120-
"""
1117+
#Workaround to use global exception handlers for versioned API.
1118+
#The issue has already been reported here:
1119+
#https://github.com/DeanWay/fastapi-versioning/issues/30
11211120
for sub_app in versioned_app.routes:
11221121
if hasattr(sub_app.app, "add_exception_handler"):
11231122
sub_app.app.add_exception_handler(

0 commit comments

Comments
 (0)