Mercurial > libervia-pubsub
changeset 63:60e95c60252d
Setup AffiliationsService and matching protocol adapter for the pgsql
backend.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Sat, 06 Nov 2004 21:04:28 +0000 |
parents | 8cdbc27c467a |
children | 0072fc44fca8 |
files | idavoll/idavoll.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/idavoll.py Sat Nov 06 21:03:31 2004 +0000 +++ b/idavoll/idavoll.py Sat Nov 06 21:04:28 2004 +0000 @@ -118,6 +118,11 @@ bsc.setServiceParent(bs) component.IService(bsc).setServiceParent(sm) + if config['backend'] == 'pgsql': + bsc = b.AffiliationsService() + bsc.setServiceParent(bs) + component.IService(bsc).setServiceParent(sm) + s = IdavollService() s.setServiceParent(sm)