Hi Chris! Thanks so much for your quick reply, I really appreciate it.
On Fri, Dec 14, 2012 at 3:41 PM, Chris Cogdon <
ch...@cogdon.org> wrote:
> oops... that should be "if x is not None", not "where x is not None"...
> Clearly I am still half in SQL mode :)
Sweet!!! Works perfectly:
return ' | '.join ([unicode(x) for x in (self.target, getattr(self,
'page_type', None)) if x is not None])
Much appreciated. :)
Have a nice holiday.
Cheers,
Micky