comparison idavoll/generic_backend.py @ 144:5b0b3f013ccc

Fixed typo. Reported by Herman Li.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 12 Jul 2005 14:53:23 +0000
parents 812300cdbc22
children 35977eb964e6
comparison
equal deleted inserted replaced
143:48244f3c0c93 144:5b0b3f013ccc
376 node, affiliation = result 376 node, affiliation = result
377 377
378 if affiliation != 'owner': 378 if affiliation != 'owner':
379 raise backend.NotAuthorized 379 raise backend.NotAuthorized
380 380
381 d = defer.DeferredList([cb(node_id) for cb in self._callback_list], 381 d = defer.DeferredList([cb(node.id) for cb in self._callback_list],
382 consumeErrors=1) 382 consumeErrors=1)
383 d.addCallback(self._do_delete, node.id) 383 d.addCallback(self._do_delete, node.id)
384 384
385 def _do_delete(self, result, node_id): 385 def _do_delete(self, result, node_id):
386 dl = [] 386 dl = []