Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'
11 Nov
2005
11 Nov
'05
1:54 a.m.
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:peter@fry-it.com>peter@fry-it.com> 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
7450
Age (days ago)
7450
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gabriel Genellina