[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate - DT_Var.py:1.58.10.1

Florent Guillaume fg@nuxeo.com
Wed, 6 Nov 2002 12:28:30 +0100


Just a note: this is probably not Unicode-safe.

Florent


In article <200211041650.gA4Gobb28137@cvs.baymountain.com> you write:
> first cut of the integration into DTML
>[...]
> +    if isinstance(v,StringType): txt = v
> +    elif aq_base(v).meta_type in ['DTML Document','DTML Method']:
> +        txt = aq_base(v).read_raw()
> +    else: txt = str(v)


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com