Apply t7624.3.diff

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/inlineCallbacks-return-7624@43018 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb