Changeset 1453 for WAeUP_SRP/trunk


Ignore:
Timestamp:
20 Feb 2007, 22:24:30 (18 years ago)
Author:
Henrik Bettermann
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/formatBed.py

    r828 r1453  
    1616if not bed:
    1717    return ''
     18if len(bed.split('_')) != 4:
     19    return bed
    1820hall,block,room,letter = bed.split('_')
    1921info = context.waeup_tool.getAccommodationInfo(bed)
     
    2325    hall_title = ""
    2426return " %s / Block %s / Room %s / Bed %s" % (hall_title,block,room,letter)
     27
Note: See TracChangeset for help on using the changeset viewer.