Changeset 1452 for WAeUP_SRP/trunk/skins/waeup_accommodation/change_bed.py
- Timestamp:
- 20 Feb 2007, 22:23:22 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/change_bed.py
r1449 r1452 62 62 acco_doc = getattr(student_obj, acco_id).getContent() 63 63 if acco_doc.bed == bed: 64 acco_doc.edit(mapping={'bed': bed + " (cancelled by change bed %s!)" % member})64 acco_doc.edit(mapping={'bed':"-- cancelled by %s --" % member}) 65 65 logger.info('"%s", "new bed allocation failed","%s"' % (student_id,code)) 66 logger.info('"%s","cancelled booking of %s"' % (member,bed,sid))66 logger.info('"%s","cancelled booking of bed %s by %s"' % (member,bed,sid)) 67 67 redirect("%s/%s/%s" % (students.absolute_url(),student,info['acco_id'])) 68 68
Note: See TracChangeset for help on using the changeset viewer.