Changeset 6975 for main/waeup.sirp/trunk/src/waeup/sirp/hostels/hostel.py
- Timestamp:
- 31 Oct 2011, 10:11:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/hostels/hostel.py
r6974 r6975 122 122 beds_for_returning = getattr(self,'beds_for_returning',[]) 123 123 beds_for_final = getattr(self,'beds_for_final',[]) 124 hostel = self.__parent__ 125 bed_string = u'%s_%s_%s ' % (block, room_nr, bed) 124 126 if bt == 'reserved': 125 127 bt = 'all' … … 133 135 bt = 're' 134 136 bt = u'%s_%s_%s' % (sh, sex, bt) 137 hostel.reserved.remove(bed_string) 135 138 else: 136 139 bt = u'%s_%s_reserved' % (sh, sex) 140 hostel.reserved.append(bed_string) 137 141 self.bed_type = bt 138 142 return
Note: See TracChangeset for help on using the changeset viewer.