Mercurial > libervia-pubsub
changeset 52:0947b46c0968
Use ISubscriptionService support of PostgreSQL backend.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Wed, 03 Nov 2004 17:27:57 +0000 |
parents | 40ac06941edc |
children | e602ddda2d6e |
files | idavoll/idavoll.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/idavoll.py Wed Nov 03 17:27:23 2004 +0000 +++ b/idavoll/idavoll.py Wed Nov 03 17:27:57 2004 +0000 @@ -106,15 +106,15 @@ bsc.setServiceParent(bs) component.IService(bsc).setServiceParent(sm) + bsc = b.SubscriptionService() + bsc.setServiceParent(bs) + component.IService(bsc).setServiceParent(sm) + if config['backend'] == 'memory': bsc = b.NodeCreationService() bsc.setServiceParent(bs) component.IService(bsc).setServiceParent(sm) - bsc = b.SubscriptionService() - bsc.setServiceParent(bs) - component.IService(bsc).setServiceParent(sm) - s = IdavollService() s.setServiceParent(sm)