Created
June 6, 2017 19:01
-
-
Save vegitron/6a392622a63deae7c5ea94d60d017905 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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