Changeset 3659:385c35109fb9 in livinglogic.python.xist

Show
Ignore:
Timestamp:
12/29/08 11:31:41 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Handle str in repr() for UL4.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r3657 r3659  
    24272427    if isinstance(obj, unicode): 
    24282428        return unicode(repr(obj)[1:]) 
     2429    elif isinstance(obj, str): 
     2430        return unicode(repr(obj)) 
    24292431    elif isinstance(obj, datetime.datetime): 
    24302432        return unicode(obj.isoformat())