- Timestamp:
- 8 Oct 2012, 13:19:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
r9315 r9316 545 545 546 546 location_fields = [] 547 additional_fields = ['level', 'code' , 'credits']547 additional_fields = ['level', 'code'] 548 548 additional_headers = ['level', 'code'] 549 549 … … 579 579 obj.dcode = entries[0].__parent__.__parent__.code 580 580 obj.title = entries[0].title 581 obj.credits = entries[0].credits 582 obj.passmark = entries[0].passmark 581 if getattr(obj, 'credits', None) is None: 582 obj.credits = entries[0].credits 583 if getattr(obj, 'passmark', None) is None: 584 obj.passmark = entries[0].passmark 583 585 obj.semester = entries[0].semester 584 586 parent[row['code']] = obj
Note: See TracChangeset for help on using the changeset viewer.