diff idavoll/idavoll.py @ 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 445a61f872b6
children cdf17c4d3bf9
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)