Edgewall Software

Changes between Initial Version and Version 1 of Ticket #9319, comment 2


Ignore:
Timestamp:
May 8, 2010, 4:40:11 PM (14 years ago)
Author:
nzoltan

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9319, comment 2

    initial v1  
    1 Patch attached, but in this form maybe breaks the trac coding rule. I mean that the patch for trac/utils/text.py introduces a chicken-egg problem. The simple fix is that `from trac.util.text import to_unicode` line must be move after the !ThreadLocal declaration in `trac/util/__init__.py`, otherwise a trac gets an !ImportError exception:
     1Patch attached, but in this form maybe breaks the trac coding rule. I mean that the patch for trac/utils/text.py introduces a chicken-egg problem. The simple fix is that `from trac.util.text import to_unicode` line must be move after the !ThreadLocal declaration in `trac/util/__init__.py`, otherwise the trac gets an !ImportError exception:
    22
    33{{{