----- Original Message ----- From: "John Poltorak" <[EMAIL PROTECTED]>
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?


    <span
tal:define="opts
python:here.lib.parse_file(file=here.members,sepr=',',clone=1)">
      <tal:block repeat="opt opts">
         <li><a     tal:content="python:opt[1]"
              tal:attributes="href python:opt[0]"></a></li>
      </tal:block>
    </span>


I would start by testing the python routine on its own (ie. without any ZPT stuff) to make sure it is producing what you expect, then add in the ZPT stuff bit-by-bit.


Jonathan

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to