[Buildbot-devel] Simple FilePoller change source help

Dustin J. Mitchell dustin at v.igoro.us
Sat Jul 7 13:19:56 UTC 2012


On Fri, Jul 6, 2012 at 12:13 PM, Alexander Sack <pisymbol at gmail.com> wrote:
> What am I doing wrong?  I am using 0.86p1 on CentOS 5.4 (python 2.6).

Since you're using waitForDeferred, you need to decorate _poll with
@defer.deferredGenerator.  I suspect adding that will get things
working as expected.

Note that since 0.8.6, Buildbot has switched to using
@defer.inlineCallbacks.  See
  http://buildbot.net/buildbot/docs/latest/developer/style.html
for details.

Dustin




More information about the devel mailing list