Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def registerComponents():
- setSite(app)
- #sm = app.getSiteManager()
- provideAdapter(getSchoolToolApplication, None, ISchoolToolApplication)
- provideAdapter(getGradebookRoot, [ISchoolToolApplication], IGradebookRoot)
- provideAdapter(getSchoolYearContainer, [ISchoolToolApplication], ISchoolYearContainer)
- provideAdapter(AttributeAnnotations, None, IAnnotations)
- provideAdapter(getSectionContainer, [ITerm], ISectionContainer)
- provideAdapter(Traverser, [ISchoolToolApplication], ITraverser)
- #provideUtility(sm.getUtility(IIntIds), IIntIds)
- u = getLocalUtility(app, UtilitySpecification(IntIds, IIntIds))
- import pdb; pdb.set_trace()
- provideUtility(u, IIntIds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement