Changeset 9734 for main/waeup.kofa/trunk/src/waeup/kofa/university
- Timestamp:
- 28 Nov 2012, 01:14:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/department.py
r9234 r9734 19 19 """ 20 20 import grok 21 import zope.location.location 21 22 from zope.component.interfaces import IFactory 22 23 from zope.interface import implementedBy … … 24 25 from waeup.kofa.university.coursescontainer import CoursesContainer 25 26 from waeup.kofa.university.certificatescontainer import CertificatesContainer 27 from waeup.kofa.utils.batching import VirtualExportJobContainer 26 28 from waeup.kofa.interfaces import IKofaUtils 27 29 from waeup.kofa.university.interfaces import IDepartment, IDepartmentAdd … … 68 70 elif name == 'certificates': 69 71 return self.certificates 72 elif name == 'exports': 73 # create a virtual exports container and return it 74 container = VirtualExportJobContainer() 75 zope.location.location.located(container, self, 'exports') 76 return container 70 77 return None 71 78 … … 75 82 insttypes_dict[self.title_prefix], 76 83 self.title, self.code) 77 78 84 79 85 class DepartmentFactory(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.