- Timestamp:
- 15 Feb 2012, 10:51:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/batching.py
r7649 r7652 42 42 from waeup.sirp.students.workflow import IMPORTABLE_STATES 43 43 from waeup.sirp.utils.batching import BatchProcessor 44 from waeup.sirp.utils.helpers import get_current_principal45 44 46 45 class StudentProcessor(BatchProcessor): … … 135 134 parent = self.getParent(row, site) 136 135 parent.addStudent(obj) 137 # In some tests we don't have a students container or a user136 # In some tests we don't have a students container 138 137 try: 139 user = get_current_principal() 140 parent.logger.info('%s - %s - Student record imported' % ( 141 user.id,obj.student_id)) 138 parent.logger.info('%s - Student record imported' % ( 139 obj.student_id)) 142 140 history = IObjectHistory(obj) 143 141 history.addMessage('Student record imported')
Note: See TracChangeset for help on using the changeset viewer.