Changeset 379 for WAeUP_SRP/trunk/Academics.py
- Timestamp:
- 16 Aug 2006, 08:12:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r371 r379 83 83 d["degree_grade"] = faculty.get("degree_grade") 84 84 d['institution_type'] = 'faculty' 85 d['Description'] = '' 86 d['college_code'] = faculty.get('CollegeCode') 85 87 f.getContent().edit(mapping=d) 86 88 return self.academics.academics_contents() … … 197 199 if len(course_id) == 3: 198 200 course_id = "%s000" % course_id 199 ## elif course_id.startswith('CHEM'):200 ## tid = course_id.replace('CHEM','CHE')201 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())202 ## course_id = tid203 ## elif course_id.startswith('DAIC'):204 ## tid = course_id.replace('DAIC','DAC')205 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())206 ## course_id = tid207 ## elif course_id.startswith('DAIM'):208 ## tid = course_id.replace('DAIM','DAM')209 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())210 ## course_id = tid211 201 elif len(course_id) > 10: 212 202 logger.info("invalid course_code %(CourseCode)s" % course) … … 230 220 dict['session'] = course.get('Session') 231 221 dict['category'] = course.get('Category') 222 dict['adm_status'] = course.get('AdmStatus') 223 dict['former_code'] = course.get('FORMERCODE') 232 224 pm = course.get('PassMark') 233 225 if pm.find(',') > -1:
Note: See TracChangeset for help on using the changeset viewer.