changeset 75:1f7b8b6b8ce9

Enable AffiliationsService for memory backend, too.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 07 Nov 2004 14:47:02 +0000
parents 0e642e5b4fb2
children 66fac7cd9edc
files idavoll/idavoll.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/idavoll.py	Sun Nov 07 14:46:35 2004 +0000
+++ b/idavoll/idavoll.py	Sun Nov 07 14:47:02 2004 +0000
@@ -143,10 +143,9 @@
     bsc.setServiceParent(bs)
     component.IService(bsc).setServiceParent(sm)
 
-    if config['backend'] == 'pgsql':
-        bsc = b.AffiliationsService()
-        bsc.setServiceParent(bs)
-        component.IService(bsc).setServiceParent(sm)
+    bsc = b.AffiliationsService()
+    bsc.setServiceParent(bs)
+    component.IService(bsc).setServiceParent(sm)
 
     s = IdavollService()
     s.setServiceParent(sm)