[Buildbot-devel] More Python Trouble

Dustin J. Mitchell dustin at zmanda.com
Wed Dec 3 18:47:34 UTC 2008


On Wed, Dec 3, 2008 at 12:15 PM, David A. Greene <greened at obbligato.org> wrote:
> Is there a good reference I can go look at to learn about Python factories and
> how they're supposed to work.  The official Python documentation leaves a lot
> to be desired.

Well, this is really just a weird buildbot thing, so the Python docs
are excused for not covering it :)

You need to change

 def __init__(self, type, **kwargs):

to

 def __init__(self, type=None, **kwargs):

and it should work.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list