[Twisted-Python] Having some kind of "finally" clause
bernat at luffy.cx
Mon Sep 22 07:12:53 MDT 2008
I would like to do something like this with Twisted:
I could do something like this :
d = open_and_get_x()
Each callback would return x to let the next callback proceed it. However,
if there is an error, I have no "x" to close in "closeAndReRaiseIfError".
How can I do that?
More information about the Twisted-Python