- Timestamp:
- 13 Nov 2014, 16:54:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/logger.py
r11952 r11954 67 67 68 68 The datacenter and its storage are created automatically when you 69 create a :class:`waeup.ikoba.app. Institution`. This also means that69 create a :class:`waeup.ikoba.app.Company`. This also means that 70 70 logging with the `Logger` mix-in will work only inside so-called sites 71 (` Institution` instances put into ZODB are such `sites`).71 (`Company` instances put into ZODB are such `sites`). 72 72 73 73 Other components in this module help to make everything work. … … 386 386 return 387 387 388 from waeup.ikoba.interfaces import I Institution389 @grok.subscribe(I Institution, grok.IObjectRemovedEvent)388 from waeup.ikoba.interfaces import ICompany 389 @grok.subscribe(ICompany, grok.IObjectRemovedEvent) 390 390 def handle_site_removed(obj, event): 391 391 collector = queryUtility(ILoggerCollector)
Note: See TracChangeset for help on using the changeset viewer.