comparison idavoll/idavoll.py @ 63:60e95c60252d

Setup AffiliationsService and matching protocol adapter for the pgsql backend.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 06 Nov 2004 21:04:28 +0000
parents 445a61f872b6
children cdf17c4d3bf9
comparison
equal deleted inserted replaced
62:8cdbc27c467a 63:60e95c60252d
116 116
117 bsc = b.NodeCreationService() 117 bsc = b.NodeCreationService()
118 bsc.setServiceParent(bs) 118 bsc.setServiceParent(bs)
119 component.IService(bsc).setServiceParent(sm) 119 component.IService(bsc).setServiceParent(sm)
120 120
121 if config['backend'] == 'pgsql':
122 bsc = b.AffiliationsService()
123 bsc.setServiceParent(bs)
124 component.IService(bsc).setServiceParent(sm)
125
121 s = IdavollService() 126 s = IdavollService()
122 s.setServiceParent(sm) 127 s.setServiceParent(sm)
123 128
124 sm.setServiceParent(serviceCollection) 129 sm.setServiceParent(serviceCollection)
125 130