Changeset 9103 for main/waeup.kofa/branches/uli-zc-async
- Timestamp:
- 9 Aug 2012, 09:58:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/app.py
r7819 r9103 18 18 import grok 19 19 from zope.authentication.interfaces import IAuthentication 20 from zope.component import getUtilit iesFor20 from zope.component import getUtility, getUtilitiesFor 21 21 from zope.component.interfaces import ObjectEvent 22 22 from zope.pluggableauth import PluggableAuthentication 23 23 from waeup.kofa.authentication import setup_authentication 24 24 from waeup.kofa.datacenter import DataCenter 25 from waeup.kofa.students.container import StudentsContainer26 from waeup.kofa.hostels.container import HostelsContainer27 25 from waeup.kofa.interfaces import ( 28 IUniversity, IKofaPluggable, IObjectUpgradeEvent, ) 26 IUniversity, IKofaPluggable, IObjectUpgradeEvent, IJobManager, 27 VIRT_JOBS_CONTAINER_NAME) 29 28 from waeup.kofa.userscontainer import UsersContainer 30 29 from waeup.kofa.utils.logger import Logger … … 54 53 the like. 55 54 """ 55 from waeup.kofa.students.container import StudentsContainer 56 from waeup.kofa.hostels.container import HostelsContainer 57 56 58 self['users'] = UsersContainer() 57 59 self['datacenter'] = DataCenter() … … 67 69 plugin.setup(self, name, self.logger) 68 70 return 71 72 def traverse(self, name): 73 if name == VIRT_JOBS_CONTAINER_NAME: 74 return getUtility(IJobManager) 75 return None 69 76 70 77 def updatePlugins(self):
Note: See TracChangeset for help on using the changeset viewer.