Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (7 sloc) 187 Bytes
from twisted.internet.defer import Deferred
def callback(res):
raise Exception('oops')
d = Deferred()
d.callback('Here is your result.')
print "Finished"
You can’t perform that action at this time.