changeset 82:758cb81b97ce

Enable ItemRetrievalService for pgsql backend.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 09 Nov 2004 14:54:17 +0000
parents 995ba223a43b
children f3f31aa491df
files idavoll/idavoll.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/idavoll.py	Tue Nov 09 14:53:50 2004 +0000
+++ b/idavoll/idavoll.py	Tue Nov 09 14:54:17 2004 +0000
@@ -162,6 +162,11 @@
     bsc.setServiceParent(bs)
     component.IService(bsc).setServiceParent(sm)
 
+    if config['backend'] == 'pgsql':
+        bsc = b.ItemRetrievalService()
+        bsc.setServiceParent(bs)
+        component.IService(bsc).setServiceParent(sm)
+
     s = IdavollService()
     s.setServiceParent(sm)