- Timestamp:
- 21 Jan 2011, 12:16:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/allocate_reserved_bed.py_old_version
r5624 r5653 75 75 psm = "Student %s has already reserved bed %s" % (sid, already[0].bed) 76 76 break 77 if not bed_brain.bed_type.endswith("reserved"):77 if not "reserved" in bed_brain.bed_type: 78 78 psm = "%s is not a reserved bed" % bid 79 79 break … … 93 93 psm = "Student %s has no reserved bed" % (sid) 94 94 break 95 if not bed_brain.bed_type.endswith("reserved"):95 if not "reserved" in bed_brain.bed_type: 96 96 psm = "%s is not a reserved bed" % bid 97 97 break
Note: See TracChangeset for help on using the changeset viewer.