post commit when using bzr as central repos fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzrbuildbot |
Triaged
|
Low
|
Unassigned |
Bug Description
The reason it failed is probably due to me, but the failure has exposed an error in the code.
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
f = failure.Failure()
exceptions.
The code in question is in hook.py:
There is no variable named "failure" and no import named "failure" in that module.
I assume that the except code is vary rarely triggered so this hasn't been seen before.
Regards,
Luke
Changed in bzrbuildbot: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: buildbot trivial |
Adding:
from twisted.python import failure
fixes the problem.
Regards,
Luke Miller