Last change
on this file since 1451 was
1401,
checked in by joachim, 18 years ago
|
fix the levels
add verdict to students_catalog
add current_verdict to student_study_course
add the same fixes to makeStudentData (not yet tested)
|
-
Property svn:keywords set to
Id
|
File size:
341 bytes
|
Line | |
---|
1 | ## Script (Python) "getLevelFromResultsList" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=list |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: getLevelFromResultsCosCode.py 1401 2007-02-08 18:08:38Z joachim $ |
---|
11 | lnr = 0 |
---|
12 | for e in list: |
---|
13 | try: |
---|
14 | cc = int(e.CosCode[3]) |
---|
15 | except: |
---|
16 | continue |
---|
17 | if lnr <= cc: |
---|
18 | lnr = cc |
---|
19 | return lnr |
---|
Note: See
TracBrowser for help on using the repository browser.