Changeset 15309
- Timestamp:
- 28 Jan 2019, 13:21:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/accommodation.py
r13457 r15309 51 51 raise TypeError( 52 52 'StudentAccommodation containers contain only IBedTicket instances') 53 self[str(bedticket.booking_session)] = bedticket 53 try: 54 self[str(bedticket.booking_session)] = bedticket 55 except KeyError: 56 if 'booking expired' in self[ 57 str(bedticket.booking_session).bed_coordinates]: 58 del self[str(bedticket.booking_session)] 54 59 return 55 60
Note: See TracChangeset for help on using the changeset viewer.