diff idavoll/idavoll.py @ 82:758cb81b97ce

Enable ItemRetrievalService for pgsql backend.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 09 Nov 2004 14:54:17 +0000
parents a7196ca7cefd
children ec557449d1aa
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)