ets-berkeley-edu/calcentral — pull request #2964 by johncrossman (2014-09-16 23:16:50+00:00)
Title: OEC-360, avoid duplicates when folding in cross-listed courses

After the get_courses query we get cross-listings with additional queries. Lo and behold, the final list has duplicates. It's not feasible to identify dupes by inspecting the file so we maintain a visited_row_list and perform performance dampening lookups. But a performance hit is OK.