comparison idavoll/idavoll.py @ 75:1f7b8b6b8ce9

Enable AffiliationsService for memory backend, too.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 07 Nov 2004 14:47:02 +0000
parents 5d7a924ebddb
children 66fac7cd9edc
comparison
equal deleted inserted replaced
74:0e642e5b4fb2 75:1f7b8b6b8ce9
141 141
142 bsc = b.NodeCreationService() 142 bsc = b.NodeCreationService()
143 bsc.setServiceParent(bs) 143 bsc.setServiceParent(bs)
144 component.IService(bsc).setServiceParent(sm) 144 component.IService(bsc).setServiceParent(sm)
145 145
146 if config['backend'] == 'pgsql': 146 bsc = b.AffiliationsService()
147 bsc = b.AffiliationsService() 147 bsc.setServiceParent(bs)
148 bsc.setServiceParent(bs) 148 component.IService(bsc).setServiceParent(sm)
149 component.IService(bsc).setServiceParent(sm)
150 149
151 s = IdavollService() 150 s = IdavollService()
152 s.setServiceParent(sm) 151 s.setServiceParent(sm)
153 152
154 sm.setServiceParent(serviceCollection) 153 sm.setServiceParent(serviceCollection)