Changeset 6837 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 30 Sep 2011, 10:27:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/batching.py
r6834 r6837 31 31 location_fields = ['student_id',] 32 32 factory_name = 'waeup.Student' 33 34 mode = None35 33 36 34 @property … … 77 75 grok.provides(IBatchProcessor) 78 76 grok.context(Interface) 79 util_name = 'studycourse importer'77 util_name = 'studycourseupdater' 80 78 grok.name(util_name) 81 79 82 name = u'StudentStudyCourse Importer '80 name = u'StudentStudyCourse Importer (update only)' 83 81 iface = IStudentStudyCourseImport 84 82 factory_name = 'waeup.StudentStudyCourse' … … 90 88 ['student_id','reg_number'] + getFields(self.iface).keys()))) 91 89 92 def checkHeaders(self, headerfields, mode=' update'):90 def checkHeaders(self, headerfields, mode='ignore'): 93 91 if not 'reg_number' in headerfields and not 'student_id' in headerfields: 94 92 raise FatalCSVError(
Note: See TracChangeset for help on using the changeset viewer.