<Zorry>
from buildbot.process.results import SUCCESS
<Zorry>
return SUCCESS
<Zorry>
you may need a yield on the release = opencast.....
<glogan>
Zorry: return from that method spits out `builtins.TypeError: inlineCallbacks requires <function GenerateGithubRelease.run at 0x7f730c5a4400> to produce a generator; instead got 0`
<glogan>
yielding SUCCESS rather than results.SUCCESS has the same behaviour as I originally saw
<glogan>
I guess i haven't tried yielding other things, but I somehow doubt that would change anything
<Zorry>
if you just do return SUCCESS
<Zorry>
no yield on that line
<glogan>
Zorry: return SUCCESS -> builtins.TypeError: inlineCallbacks requires <function GenerateGithubRelease.run at 0x7f730c5a4400> to produce a generator; instead got 0
<glogan>
I guess I could remove the defer on the run method, but I'm expecting that's not the right idea either
<Zorry>
if you don't have any yield it shound be removed
<glogan>
hey, there we go, thanks Zorry
<glogan>
remove the defer, used return, and things work as expected
<glogan>
I thought i needed to defer the run method. Guess not.