Changeset 9324 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 10 Oct 2012, 20:23:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py
r9162 r9324 43 43 if start_level == 999 or end_level == 999: 44 44 levels = [999] 45 elif start_level == 10 and end_level == 10: 46 levels = [10,] 45 47 elif start_level == 10: 46 48 levels = [10,] + [level for level in range(100,end_level+200,10) … … 51 53 else: 52 54 # default level range 53 levels = [10, 55 levels = [10,] 54 56 levels += [level for level in range(100,1000,10) if level % 100 < 30] 55 57 levels.append(999)
Note: See TracChangeset for help on using the changeset viewer.