Changeset 5208


Ignore:
Timestamp:
29 May 2010, 04:49:53 (15 years ago)
Author:
Henrik Bettermann
Message:

add student column to bedlist_modified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Accommodation.py

    r5207 r5208  
    4545        halls = []
    4646        generated = []
    47         generated.append('"Bed","BedType","Student"' % vars())
     47        generated.append('"Bed","BedType"' % vars())
    4848        modified = []
    4949        modified.append('"Bed","BedType","Student"' % vars())
     
    108108                                generated.append('"%(uid)s","%(bt)s"' % vars())
    109109                            elif bed_record.bed_type != bt:
     110                                st = bed_record.student
    110111                                bed_list.modifyRecord(**d)
    111                                 modified.append('"%(uid)s","%(bt)s"' % vars())
     112                                modified.append('"%(uid)s","%(bt)s","%(st)s"' % vars())
    112113                                modified_count += 1
    113114                                pass
Note: See TracChangeset for help on using the changeset viewer.