Skip to content

Instantly share code, notes, and snippets.

@vegitron
Created June 6, 2017 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vegitron/6a392622a63deae7c5ea94d60d017905 to your computer and use it in GitHub Desktop.
Save vegitron/6a392622a63deae7c5ea94d60d017905 to your computer and use it in GitHub Desktop.
for registration in json_data.get('Registrations', []):
if is_unfinished_pce_course(registration):
unf_pce_course = _json_to_unfinished_pce_course(registration, term)
key = unf_pce_course.section_ref.section_label()
enrollment.unf_pce_courses[key] = unf_pce_course
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment