[Buildbot-devel] sendchange and 0.8.4

Jean-Michel Beuken jean-michel.beuken at uclouvain.be
Thu Jun 16 08:51:50 UTC 2011


Hello Dustin,
> 2011/6/15 Jean-Michel Beuken<jean-michel.beuken at uclouvain.be>:
>> the class Sender does not contain the definitions of printFailure and
>> printSuccess  like in version 0.7.12
> All of the failures you saw are fixed on the branch - they were
> reported in IRC earlier today.  Egg on my face..
thank you for your answer...

sorry, but what about the definition of *printFailure() *which not also defined in class Sender but potentially used in scripts/runner.py*?
*
--------- scripts/runner.py -------
...
def sendchange(config, runReactor=False):
...
...
     def printSuccess(_):
         print "change sent successfully"

     if runReactor:
         status = [True]
         def failed(res):
             status[0] = False
*s.printFailure(res)*
         d.addCallbacks(printSuccess, failed)
         d.addBoth(lambda _ : reactor.stop)
         reactor.run()
         return status[0]
     return d
----------------------------------------

thank you for your great job...

regards

jmb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110616/dc0f8471/attachment.html>


More information about the devel mailing list