[Product-Developers] subclass ATWorkgroup

Andreas Jung lists at zopyx.com
Wed Jun 17 04:21:41 UTC 2009

On 16.06.09 22:24, cswank wrote:
> Hello,
> I am trying to subclass ATWorkgroup.  When my __init__:
> def __init__(self, *args, **kw):
>         super(Vendor, self).__init__(*args, **kw)
>  gets called I get the following error:
> TypeError: super(type, obj): obj must be an instance or subtype of type

And where is the class definition? Please provide consistent and half-way
sense-making code snippets.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090617/14388b1e/attachment.vcf>

More information about the Product-Developers mailing list