Changeset 641 for WAeUP_SRP


Ignore:
Timestamp:
10 Oct 2006, 15:17:27 (18 years ago)
Author:
joachim
Message:

fixed invalid literal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Accommodation.py

    r638 r641  
    5151            #reserved = [int(r) for r in h.reserved_rooms.split(',')]
    5252            reserved = [int(r) for r in re.split(',|\.| ',h.reserved_rooms)
    53                                      if not re.search(r'\D',r)]
     53                                     if not re.search(r'\D',r) and r]
    5454            sex = 'male'
    5555            if h.which_sex:
Note: See TracChangeset for help on using the changeset viewer.