[users at bb.net] Incorrect Docs?
Chris Spencer
chrisspen at gmail.com
Tue Oct 2 22:01:00 UTC 2018
What's the correct way to refer to a build request's source in a build
priority function?
These docs (http://docs.buildbot.net/current/manual/customization.html)
imply it's simply:
def getNextRequest(bldr, requests):
for r in requests:
print(r.source.branch)
but code like this gives me the error:
exceptions.AttributeError: 'BuildRequest' object has no attribute
'source'
Is this the correct usage?
I'm using Buildbot 1.4.0, which I believe is the most current release.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20181002/d39b816d/attachment.html>
More information about the users
mailing list