comparison sat_pubsub/backend.py @ 234:51af2ed8bd50

replaced idavoll imports by sat_pubsub imports
author Goffi <goffi@goffi.org>
date Thu, 17 May 2012 01:53:12 +0200
parents 564ae55219e1
children 64f780413b82
comparison
equal deleted inserted replaced
233:564ae55219e1 234:51af2ed8bd50
74 74
75 from wokkel import disco 75 from wokkel import disco
76 from wokkel.iwokkel import IPubSubResource 76 from wokkel.iwokkel import IPubSubResource
77 from wokkel.pubsub import PubSubResource, PubSubError 77 from wokkel.pubsub import PubSubResource, PubSubError
78 78
79 from idavoll import error, iidavoll 79 from sat_pubsub import error, iidavoll
80 from idavoll.iidavoll import IBackendService, ILeafNode 80 from sat_pubsub.iidavoll import IBackendService, ILeafNode
81 81
82 def _getAffiliation(node, entity): 82 def _getAffiliation(node, entity):
83 d = node.getAffiliation(entity) 83 d = node.getAffiliation(entity)
84 d.addCallback(lambda affiliation: (node, affiliation)) 84 d.addCallback(lambda affiliation: (node, affiliation))
85 return d 85 return d