source:
WAeUP_SRP/trunk/skins/waeup_academics/getCertificatesDict.py
@
17947
Last change on this file since 17947 was 3499, checked in by , 16 years ago | |
---|---|
File size: 301 bytes |
Line | |
---|---|
1 | # $Id: getCertificatesDict.py 3254 2008-02-28 13:06:20Z joachim $ |
2 | """ |
3 | """ |
4 | |
5 | res = context.certificates_catalog() |
6 | dict = {} |
7 | |
8 | for d in res: |
9 | if not d.study_mode: |
10 | continue |
11 | dict[d.code] = {'title': d.title, |
12 | 'study_mode': d.study_mode, |
13 | } |
14 | return dict |
Note: See TracBrowser for help on using the repository browser.