[Zope] mxm Product

Max M maxm@mxm.dk
Thu, 14 Feb 2002 15:24:51 +0000


Heimo Laukkanen wrote:

>You were rigth. Experience talks I see ,-) What seems to be the cause of
>this behavior, I am not that familiar with Python syntax that it would
>be obvious to me.
>

The indentation  tells if it belongs to the module or the class. Your 
"HTMLFile()" objects should belong to the class so they must be indented 
like a class method. 1 level deeper than the class declaration..

>>I reported it as a documentation bug when I found this sort of thing
>>in an early version of the howtos, and it's been fixed in at least
>>some places (maybe all of them, I've not gone through both howtos
>>extensively since then).
>>
>
>Atleast on:
>http://www.zope.org/Members/maxm/HowTo/easyProduct/
>
>it is still present.
>
No it isn't ;-)

    regards Max M