- Timestamp:
- 17 Feb 2012, 09:10:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/studycourse.py
r7661 r7664 66 66 self[str(studylevel.level)][ticket.code] = ticket 67 67 # Collect carry-over courses in base levels (not in repeating levels) 68 if studylevel.level % 100 == 0: 68 try: 69 co_enabled = grok.getSite()['configuration'].carry_over 70 except TypeError: 71 # In tests we might not have a site object 72 co_enabled = True 73 if co_enabled and studylevel.level % 100 == 0: 69 74 levels = sorted(self.keys()) 70 75 index = levels.index(str(studylevel.level))
Note: See TracChangeset for help on using the changeset viewer.