Changeset 3093 for trac


Ignore:
Timestamp:
04/14/06 11:33:36 (7 years ago)
Author:
moschny
Message:

Revert to using StringIO. In Trac 0.10, unicode strings are used,
which cStringIO can't handle.

Alternatively, one could convert all non-ASCII chars to HTML
entities. On the other hand, this should be done by Trac itself, if
necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/plugins/tracnav/tracnav/tracnav.py

    r3092 r3093  
    6565from trac.wiki.model import WikiPage 
    6666from trac.wiki.formatter import Formatter, OneLinerFormatter 
    67 try: 
    68     from cStringIO import StringIO 
    69 except ImportError: 
    70     from StringIO import StringIO 
     67from StringIO import StringIO 
    7168 
    7269 
Note: See TracChangeset for help on using the changeset viewer.