On 1/4/06, Jeremy Jones <[EMAIL PROTECTED]> wrote:
> Checking for content
> do_add_to_cart.kid: <meta content="text/html; charset=UTF-8"
> http-equiv="content-type" py:replace="''"/>
> form_page.kid: <meta content="text/html; charset=UTF-8"
> http-equiv="content-type" py:replace="''"/>
> help.kid: <meta content="text/html; charset=UTF-8"
> http-equiv="content-type" py:replace="''"/>
> master.kid: <meta content="text/html; charset=UTF-8"
> http-equiv="content-type" py:replace="''"/>
> master.kid: <div id="contents">
> master.kid: <div class="flash"
> py:content="tg_flash"></div>
> master.kid: <!--content-->
> master.kid: <td py:content="item[:]" id="main">
> master.kid: <!--content-->
> registration_successful.kid: <meta content="text/html; charset=UTF-8"
> http-equiv="content-type" py:replace="''"/>
> ****************************
Also in my quest to eliminate the easy stuff: there *was* a bug in Kid
that prevented comments <!-- --> in the master template. This bug was
fixed (tests written, and all of that), but perhaps you've hit upon an
untested case. I don't think that's the problem though.
The error message that you're reporting doesn't seem right.
def initialize(self):
should not give a "NoneType is not callable" error because nothing is
being called on that line. It's a def statement. The *next* line has a
call:
22 rslt = initialize(self)
but how can initialize be None? (I see why David asked if there was a
variable called initialize specifically).
If possible, you may find it instructive to play with those generated
.py files directly from the Python shell.
Kevin