40
40
src = store.find(Offering,
41
41
Subject.code == unicode(sys.argv[1]),
42
42
Semester.year == unicode(sys.argv[2]),
44
44
Offering.subject_id == Subject.id,
45
45
Offering.semester_id == Semester.id).one()
47
47
dst = store.find(Offering,
48
48
Subject.code == unicode(sys.argv[4]),
49
49
Semester.year == unicode(sys.argv[5]),
51
51
Offering.subject_id == Subject.id,
52
52
Offering.semester_id == Semester.id).one()