Changeset 7212 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 26 Nov 2011, 16:51:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/student.py
r7203 r7212 154 154 except (TypeError, AttributeError): 155 155 return 156 grok.getSite()['students'].logger.info('%s - %s - %s' % ( 157 user, target, comment)) 156 try: 157 grok.getSite()['students'].logger.info('%s - %s - %s' % ( 158 user, target, comment)) 159 except KeyError: 160 # If we delete an entire university instance there won't be 161 # a students subcontainer 162 return 158 163 return 159 164
Note: See TracChangeset for help on using the changeset viewer.