[Buildbot-commits] [Buildbot] #1985: AttributeError: Sender instance has no attribute 'stop'

Buildbot nobody at buildbot.net
Wed Jun 15 14:15:52 UTC 2011


#1985: AttributeError: Sender instance has no attribute 'stop'
----------------------+------------------------
Reporter:  kb         |       Owner:
    Type:  undecided  |      Status:  new
Priority:  critical   |   Milestone:  undecided
 Version:  0.8.4      |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by dustin):

 Fix should be pretty straightforward:
 {{{
 #!patch
 diff --git a/master/buildbot/changes/hgbuildbot.py
 b/master/buildbot/changes/hgbuildbot.py
 index 0cc36af..68cc2c5 100644
 --- a/master/buildbot/changes/hgbuildbot.py
 +++ b/master/buildbot/changes/hgbuildbot.py
 @@ -173,7 +173,7 @@ def hook(ui, repo, hooktype, node=None, source=None,
 **kwargs):
          ui.warn(s.getFailureString(why) + '\n')

      d.addCallbacks(_printSuccess, _printFailure)
 -    d.addBoth(s.stop)
 +    d.addBoth(lambda _ : reactor.stop)
      s.run()

      if fork:
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1985#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list