Changeset 6834 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 30 Sep 2011, 08:18:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/batching.py
r6825 r6834 91 91 92 92 def checkHeaders(self, headerfields, mode='update'): 93 if not 'reg_number' in headerfields or'student_id' in headerfields:93 if not 'reg_number' in headerfields and not 'student_id' in headerfields: 94 94 raise FatalCSVError( 95 95 "Need at least columns student_id or reg_number for import!") 96 # Check for double fields...96 # Check for fields to be ignored... 97 97 not_ignored_fields = [x for x in headerfields 98 98 if not x.startswith('--')]
Note: See TracChangeset for help on using the changeset viewer.