# HG changeset patch # User Ralph Meijer # Date 1099502877 0 # Node ID 0947b46c096827f95f01e91ed29eaa6c5ed4ccfe # Parent 40ac06941edc6aa939db029dca82585e847c93bf Use ISubscriptionService support of PostgreSQL backend. diff -r 40ac06941edc -r 0947b46c0968 idavoll/idavoll.py --- 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)