Changeset 3165 for WAeUP_SRP/base


Ignore:
Timestamp:
14 Feb 2008, 20:17:36 (17 years ago)
Author:
Henrik Bettermann
Message:

fix syntax error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_accommodation/change_bed.py

    r3156 r3165  
    1414import logging
    1515from Products.AdvancedQuery import Eq, Between, Le,In
    16    
     16
    1717logger = logging.getLogger('Skins.change_bed')
    1818request = context.REQUEST
     
    5454        records = context.portal_accommodation.evalAdvancedQuery(query)
    5555        if len(records) < 1:
    56             psm=''New bed allocation for %s failed, No bed free in category %s' % (student_id,status)
     56            psm='New bed allocation for %s failed, No bed free in category %s' % (student_id,status)
    5757            logger.info(psm)
    5858            psm='Bed change failed!'
    5959            break
    6060        beds.modifyRecord(bed=allocated_bed.bed,student=beds.not_occupied)
    61         logger.info('Bed %s released' % (allocated_bed.bed))   
     61        logger.info('Bed %s released' % (allocated_bed.bed))
    6262        code,bed = beds.searchAndReserveBed(student_id,status)
    6363        if code > 0:
Note: See TracChangeset for help on using the changeset viewer.