
Jan. 17, 2003
8:33 a.m.
On Friday, Jan 17, 2003, at 10:34 America/New_York, Tommi Virtanen wrote:
http://cumulo-nimbus.mit.edu/deferex.xhtml def prettyRequest(server, requestName): d=server.makeRequest(requestName) d.addCallback(lambda result: ', '.join(result.asList())) d.addErrback(lambda failure: failure.printTraceback()) return d
How about calling it prettyWorthlessRequest :) You'll never see the result, just failures! How about throwing a print statement in the callback lambda or something? -bob