Skip to content

chore: clean up delivery TODO comments#515

Open
charles-openclaw wants to merge 1 commit into
AvaCodeSolutions:masterfrom
charles-openclaw:fix-delivery-todo-comments
Open

chore: clean up delivery TODO comments#515
charles-openclaw wants to merge 1 commit into
AvaCodeSolutions:masterfrom
charles-openclaw:fix-delivery-todo-comments

Conversation

@charles-openclaw
Copy link
Copy Markdown

Summary

  • Remove the stale completion TODO because enrollment.graduate() is already called immediately after it.
  • Fix the custome typo and narrow the remaining TODO to the unlogged rescheduled-failure case.

Verification

  • rg -n 'consider marking the enrollment as completed|custome' django_email_learning/jobs/deliver_contents_job.py returned no matches.
  • python3 -m py_compile django_email_learning/jobs/deliver_contents_job.py passed.
  • git diff --check passed.

Issue reference

Closes #499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up stale TODO comments in deliver_contents_job.py

1 participant