Changeset 4550


Ignore:
Timestamp:
21 Nov 2009, 07:41:37 (15 years ago)
Author:
Henrik Bettermann
Message:

fix syntax

Location:
WAeUP_SRP/trunk/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaue/clearance_edit.py

    r4549 r4550  
    140140                except:
    141141                    logger.info("closing of clearance object of %s failed" % (student_id))
    142                     continue
    143142                wftool.doActionFor(info['student'],'request_clearance',dest_container=1)
    144143                psm = "You successfully requested clearance!"
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py

    r4065 r4550  
    138138                logger.info('%s requested clearance' % (student_id))
    139139                clear_doc.edit(mapping = {'request_date': current,})
    140                 wftool.doActionFor(info['clear'],'close')
     140                try:
     141                    wftool.doActionFor(info['clear'],'close')
     142                except:
     143                    logger.info("closing of clearance object of %s failed" % (student_id))
    141144                wftool.doActionFor(info['student'],'request_clearance',dest_container=1)
    142145                psm = "You successfully requested clearance!"
Note: See TracChangeset for help on using the changeset viewer.