At Thursday 10/11/2005 12:08, Larry Lay wrote:
I found no empty titles. Any other ideas?
On 11/10/05, Peter Bengtsson <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>
wrote:
I suspect that one item in your 'subsections' variable is None.
Try:tal:repeat subsection python:sequence.sort ([x for x in subsections
if not None],(('title','nocase','asc'),))
Note the typo (which was valid Python code anyway so might go undetected),
should be:
python:sequence.sort([x for x in subsections if x is not
None],(('title','nocase','asc'),))
Gabriel Genellina
Softlab SRL
_______________________________________________
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 )