[z3-five] SimpleViewClass and __hash__
Jean-Marc Orliaguet
jmo at chalmers.se
Mon May 9 12:52:21 CEST 2005
Florent Guillaume wrote:
>Jean-Marc Orliaguet wrote:
>
>
>>well, looking at the code, it is actually simple strings that are stored:
>>
>>
>
>But in getRequestedThemeAndPageName you have this code:
>
> if published is not None:
> try:
> published = published.getId()
> except AttributeError:
> pass
> theme = self.getThemeByMethod(published)
>
>That's what I'm talking about.
>
>Florent
>
>
OK, you mean that CPSSkins w/ Five crashes when the 'published' argument
passed to getThemeByMethod is None?
in that case I can change it to avoid calling getThemeByMethod uselessly.
/JM
More information about the z3-five
mailing list