From f7c41fa2f24d96c3024930b1bb603f566f402644 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 19 Mar 2024 17:39:36 +0300 Subject: Rename klass to class_. As recommended by: which is a reference for pep-8. Signed-off-by: Munyoki Kilyungi --- gn_auth/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn_auth') diff --git a/gn_auth/errors.py b/gn_auth/errors.py index fdd2f3e..7e90659 100644 --- a/gn_auth/errors.py +++ b/gn_auth/errors.py @@ -39,5 +39,5 @@ __error_handlers__ = { } def register_error_handlers(app: Flask): """Register ALL defined error handlers""" - for klass, error_handler in __error_handlers__.items(): - app.register_error_handler(klass, error_handler) + for class_, error_handler in __error_handlers__.items(): + app.register_error_handler(class_, error_handler) -- cgit v1.2.3