On Mon, May 09, 2011 at 11:03:12AM -0000, exar...@twistedmatrix.com wrote: > > d.addCallback(f, x, y) will result in f(resultOfD, x, y)
Cool - no need to wrap the method call :-). The documentation for runQuery does not mention this feature, though: "Returns a Deferred which will fire the return value of a DB-API cursor's 'fetchall' method, or a Failure." Maybe it's obvious for people who know how Deferreds work :-/ Thanks, and best regards, -- Albert Brandl Weiermayer Solutions GmbH | Abteistraße 12, A-4813 Altmünster phone: +43 (0) 720 70 30 14 | fax: +43 (0) 7612 20 3 56 web: http://www.weiermayer.com _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python