Changeset 650
- Timestamp:
- 11 Oct 2006, 06:37:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Accommodation.py
r641 r650 50 50 count = 0 51 51 #reserved = [int(r) for r in h.reserved_rooms.split(',')] 52 reserved = [int(r) for r in re.split(',|\.| ',h.reserved_rooms) 52 reserved = [int(r) for r in re.split(',|\.| ',h.reserved_rooms) 53 53 if not re.search(r'\D',r) and r] 54 54 sex = 'male' … … 82 82 current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S") 83 83 open("%s/import/bedlist_%s.csv" % (i_home,current),"w+").write('\n'.join(generated)) 84 return self.accommodation.acco mmodation_view(beds_generated=beds_generated)84 return self.accommodation.acco_folder_view(beds_generated=beds_generated) 85 85 86 86 ###)
Note: See TracChangeset for help on using the changeset viewer.