Skip to content

Commit

Permalink
fix: feedback from Shafqat
Browse files Browse the repository at this point in the history
  • Loading branch information
grmartin authored and KyryloKireiev committed Apr 24, 2024
1 parent dedc523 commit c9f5ae7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lms/djangoapps/commerce/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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].',
Expand All @@ -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

Expand Down

0 comments on commit c9f5ae7

Please sign in to comment.