comparison 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
comparison
equal deleted inserted replaced
81:995ba223a43b 82:758cb81b97ce
160 160
161 bsc = b.AffiliationsService() 161 bsc = b.AffiliationsService()
162 bsc.setServiceParent(bs) 162 bsc.setServiceParent(bs)
163 component.IService(bsc).setServiceParent(sm) 163 component.IService(bsc).setServiceParent(sm)
164 164
165 if config['backend'] == 'pgsql':
166 bsc = b.ItemRetrievalService()
167 bsc.setServiceParent(bs)
168 component.IService(bsc).setServiceParent(sm)
169
165 s = IdavollService() 170 s = IdavollService()
166 s.setServiceParent(sm) 171 s.setServiceParent(sm)
167 172
168 sm.setServiceParent(serviceCollection) 173 sm.setServiceParent(serviceCollection)
169 174