Ignore:
Timestamp:
16 Jan 2007, 06:33:04 (18 years ago)
Author:
Henrik Bettermann
Message:

iteration over non sequence fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r1305 r1306  
    8585                                 ds = ds,
    8686                                 )
    87         elif code == -2
     87        elif code == -2:
    8888            return context.accommodation_pin_edit_form(rendered = res,
    8989                                 psm = "No bed available. Your category is already fully booked.",
    9090                                 mode = mode,
    9191                                 ds = ds,
    92                                  )       
     92                                 )
    9393        student.invokeFactory('StudentAccommodation',acco_id)
    9494        acco = getattr(student,acco_id)
Note: See TracChangeset for help on using the changeset viewer.