Public feed #892549

Unbenannt

public text v1 · immutable
Raw Edit
·published 2008-02-05 15:07 UTC
rendered paste body
    def deine_function(self,result):
        if result is None:
            print "Not Registered"
        print "CALLBACKAUSGABE:",result

-------------------------------------------------------------------

                print "--------CALLBACKTEST------"
                test = action.call().addCallback(self.deine_function)
                action.call().addCallback(self.deine_function)
                d = action.call()
                d.addCallback(self.deine_function)
                print d
                print test
                print "--------CALLBACKTEST------"


--------CALLBACKTEST------
<Deferred at 0x2eb99490>
<Deferred at 0x2eb92da0>
--------CALLBACKTEST------