- Timestamp:
- 13 Oct 2021, 07:10:12 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r16666 r16679 20 20 import os 21 21 import grok 22 from copy import deepcopy 22 23 from datetime import datetime, timedelta 23 24 from zope.component import getUtility … … 155 156 for level in student['studycourse'].values(): 156 157 # check if already failed or not taken courses have been passed later 157 for code in failedticketcodes: 158 if code in level.passed_params[6]: 158 failedticketcodes_copy = deepcopy(failedticketcodes) 159 nottakenticketcodes_copy = deepcopy(nottakenticketcodes) 160 for code in failedticketcodes_copy: 161 if code.strip('m_').strip('_m') in level.passed_params[6]: 159 162 failedticketcodes.remove(code) 160 for code in nottakenticketcodes :163 for code in nottakenticketcodes_copy: 161 164 if code in level.passed_params[6]: 162 165 nottakenticketcodes.remove(code)
Note: See TracChangeset for help on using the changeset viewer.