[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate -
DT_Var.py:1.58.10.1
Andreas Jung
andreas@andreas-jung.com
Wed, 06 Nov 2002 12:44:01 +0100
...as lots of other componentents ;-)
btw. don't use andreas@digicool.com since I am no longer working for ZC.
-aj
--On Mittwoch, 6. November 2002 12:28 +0100 Florent Guillaume
<fg@nuxeo.com> wrote:
> 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
>
> _______________________________________________
> Zope-Checkins maillist - Zope-Checkins@zope.org
> http://lists.zope.org/mailman/listinfo/zope-checkins
---------------------------------------------------------------------
- Andreas Jung http://www.andreas-jung.com -
- EMail: andreas at andreas-jung.com -
- "Life is too short to (re)write parsers" -
---------------------------------------------------------------------