- Timestamp:
- 8 Mar 2012, 19:00:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/facultiescontainer.py
r7725 r7811 19 19 from zope.component.interfaces import IFactory 20 20 from zope.interface import implementedBy 21 from waeup. sirp.interfaces import ISIRPPluggable22 from waeup. sirp.university.interfaces import IFacultiesContainer, IFaculty21 from waeup.kofa.interfaces import IKOFAPluggable 22 from waeup.kofa.university.interfaces import IFacultiesContainer, IFaculty 23 23 24 24 class FacultiesContainer(grok.Container): … … 52 52 """A plugin that creates container for faculties inside a university. 53 53 """ 54 grok.implements(I SIRPPluggable)54 grok.implements(IKOFAPluggable) 55 55 grok.name('faculties') 56 56 57 57 def setup(self, site, name, logger): 58 58 if 'faculties' in site.keys(): 59 logger.warn('Could not create container for faculties in SIRP.')59 logger.warn('Could not create container for faculties in KOFA.') 60 60 return 61 61 site['faculties'] = FacultiesContainer()
Note: See TracChangeset for help on using the changeset viewer.