Changeset 2867


Ignore:
Timestamp:
6 Dec 2007, 10:14:34 (17 years ago)
Author:
Henrik Bettermann
Message:

2 fixes

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Accommodation.py

    r2845 r2867  
    8484                            d['bed'] = uid
    8585                            d['bed_type'] = bt
    86                             d['sort_id'] = getattr(hall_doc,'sort_id')
     86                            d['sort_id'] = getattr(hall_doc,'sort_id',0)
    8787                            d['hall'] = hall.getId()
    8888                            d['student'] = NOT_OCCUPIED
  • WAeUP_SRP/base/skins/waeup_accommodation/reserve_accommodation.py

    r2865 r2867  
    9191elif psm == 'valid':
    9292    if mode == 'create':
    93         set_trace()
     93        #set_trace()
    9494        pin = str(ds.get('acco_res_sc_pin'))
    9595        code,bed = context.portal_accommodation.searchAndReserveBed(student_id,
Note: See TracChangeset for help on using the changeset viewer.