From c9f5ae7b8896d63734e918100b1dd33373d2203a Mon Sep 17 00:00:00 2001 From: "Glenn R. Martin" Date: Tue, 9 Apr 2024 11:12:57 -0400 Subject: [PATCH] fix: feedback from Shafqat --- lms/djangoapps/commerce/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lms/djangoapps/commerce/utils.py b/lms/djangoapps/commerce/utils.py index 1a2416231983..a37cd2ab36b2 100644 --- a/lms/djangoapps/commerce/utils.py +++ b/lms/djangoapps/commerce/utils.py @@ -344,7 +344,6 @@ def _refund_in_commerce_coordinator(course_enrollment, change_mode): course_key_str, str(exc) ) - return False # Refund was successfully sent to Commerce Coordinator log.info('Refund successfully sent to Commerce Coordinator for user [%s], course [%s].', @@ -367,7 +366,7 @@ def _auto_enroll(course_enrollment): course_enrollment (CourseEnrollment): The course_enrollment to update. Returns: - bool: True if auto-enroll is succesful. False if auto-enroll is not applicable. + bool: True if auto-enroll is successful. False if auto-enroll is not applicable. """ enrollment_course_id = course_enrollment.course_id