From 43ea99e3a6ab9775766da35e91bb9a1d3399c0be Mon Sep 17 00:00:00 2001 From: Muhammad Zubair Date: Thu, 22 Jun 2023 21:55:29 +0500 Subject: [PATCH] feat: skipped linting check --- common/djangoapps/entitlements/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/djangoapps/entitlements/tasks.py b/common/djangoapps/entitlements/tasks.py index 2f534b7a07..c8e2a9c628 100644 --- a/common/djangoapps/entitlements/tasks.py +++ b/common/djangoapps/entitlements/tasks.py @@ -115,7 +115,7 @@ def expire_and_create_entitlements(self, entitlements, support_user): CourseEntitlementSupportDetail.objects.create(**support_detail) LOGGER.info('created new entitlement with id %d in a correspondence of above expired entitlement', new_entitlement.id) # lint-amnesty, pylint: disable=line-too-long - except Exception as exc: - LOGGER.exception('Failed to expire entitlements that reached their expiration period') # pylint: disable=broad-except + except Exception as exc: # pylint: disable=broad-except + LOGGER.exception('Failed to expire entitlements that reached their expiration period') LOGGER.info('Successfully completed the task expire_and_create_entitlements after examining %d entries', entitlements.count()) # lint-amnesty, pylint: disable=line-too-long