feat: resolved linting issues

This commit is contained in:
Muhammad Zubair
2023-06-20 21:01:38 +05:00
committed by Phillip Shiu
parent 33bc48b8de
commit 8e2612358d

View File

@@ -28,6 +28,7 @@ MIT_SUPPLY_CHAIN_COURSES = [
'6513ed9c112a495182ad7036cbe52831',
]
@shared_task(bind=True, ignore_result=True)
@set_code_owner_attribute
def expire_old_entitlements(self, start, end, logid='...'):
@@ -111,7 +112,6 @@ def expire_and_create_entitlements(self, no_of_entitlements):
entitlement.save()
LOGGER.info('created new entitlement with id %d ', entitlement.id)
except Exception as exc:
LOGGER.exception('Failed to expire entitlements ',)
# The call above is idempotent, so retry at will