Changeset 1191 for WAeUP_SRP/trunk


Ignore:
Timestamp:
3 Jan 2007, 19:55:57 (18 years ago)
Author:
joachim
Message:

fix undefined d_review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/getReviewInfo.py

    r1187 r1191  
    1 ## Script (Python) "getStudentReviewState"
     1## Script (Python) "getReviewInfo"
    22##bind container=container
    33##bind context=context
     
    1919                                                workflow_vars=wf_vars)
    2020    d_review = proxies_info[0]['review_state']
     21else:
     22    d_review = ''
    2123if context.portal_type != "Student":
    2224    student_id = context.getStudentId()
     
    2426    if res:
    2527        s_review = res[-1].review_state
    26     return "%s / %s" % (s_review,d_review)
     28        return "%s / %s" % (s_review,d_review)
    2729return "%s" % (d_review)
    2830
Note: See TracChangeset for help on using the changeset viewer.