Changeset 10218 for main/waeup.futminna/trunk/src/waeup/futminna/applicants
- Timestamp:
- 24 May 2013, 06:10:33 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/applicants/utils.py
r10216 r10218 38 38 """ 39 39 certs = sorted(resultset, key=lambda value: value.code) 40 resultlist = [cert for cert in certs 41 if not None in (context.jamb_score, cert.custom_float_1) 42 and context.jamb_score >= cert.custom_float_1] 40 if context.jamb_score is not None: 41 resultlist = [cert for cert in certs 42 if cert.custom_float_1 is None 43 or context.jamb_score >= cert.custom_float_1] 44 else: 45 resultlist = certs 43 46 curr_course = context.course1 44 47 if curr_course is not None and curr_course not in resultlist:
Note: See TracChangeset for help on using the changeset viewer.