Last change
on this file since 2222 was
2133,
checked in by Henrik Bettermann, 17 years ago
|
show apply_pume link
and more ...
|
-
Property svn:keywords set to
Id
|
File size:
253 bytes
|
Line | |
---|
1 | ##parameters=key=None |
---|
2 | # $Id: get_levels_voc.py 2133 2007-08-20 21:38:24Z henrik $ |
---|
3 | """ |
---|
4 | Return the levels as an vocabulary |
---|
5 | |
---|
6 | """ |
---|
7 | if key is None: |
---|
8 | return [("%s" % l,"Level %s" % l) for l in range(100,700,100)] |
---|
9 | if not int(key) % 100: |
---|
10 | return "Level %s" % key |
---|
11 | return "Level %s0 (on probation)" % key[:-1] |
---|
12 | |
---|
Note: See
TracBrowser for help on using the repository browser.