Changeset 9701 for main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py
- Timestamp:
- 20 Nov 2012, 11:16:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py
r9448 r9701 119 119 bt = u'%s_%s_%s' % (self.special_handling,sex,bt) 120 120 uid = u'%s_%s_%d_%s' % (self.hostel_id,block,room_nr,bed) 121 if self.has_key(uid):121 if uid in self: 122 122 bed = self[uid] 123 123 # Renumber remaining beds
Note: See TracChangeset for help on using the changeset viewer.