[Zope] Python product - inherittance

Andy McKay andym@ActiveState.com
Wed, 25 Oct 2000 13:33:59 -0700


Attribute error means it can find some value. Without some more information
it is impossible to say.

----- Original Message -----
From: "Petr Knapek" <knapek@knapek.pvt.net>
To: <zope@zope.org>
Sent: Wednesday, October 25, 2000 1:02 PM
Subject: [Zope] Python product - inherittance


> Hi Zopists,
> I have a problem with inherittance of my publishable python classes.
> I created in python
>
> classA and classB(classA)
>
> classA has functionA and classB has functionB. In __init__.py of my
> product I register only classB.
>
> My problem is that it is not possible to call functionA of an instance
> of classB. There is 'Error Type: AttributeError'. Does anybody know
> where the problem is? I use Zope 2.1.6
>
> Thanks, Petr
> --
> Petr Knápek
> NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic
> e-mail: knapek@nextra.cz
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>