#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
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits