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