[Buildbot-devel] How do you subclass a Buildstep?

Bob Hood bhood2 at comcast.net
Sun May 31 11:55:57 UTC 2015


On 5/31/2015 3:41 AM, Giovanni Gherdovich wrote:
> -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8
> class Frob(ShellCommand):
>     def __init__(self, foo, *args, **kwargs):
>         super(ShellCommand, self).__init__(*args, **kwargs)
>

Just a guess, but shouldn't that line be:

         super(/Frob/, self).__init__(*args, **kwargs)

I would imagine the superclass of *Frob*is expecting the "command" kwarg, but 
the superclass of *Shellcommand*is probably not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150531/0de1c223/attachment.html>


More information about the devel mailing list