Changes between Initial Version and Version 1 of Ticket #9319, comment 2
- Timestamp:
- May 8, 2010, 4:40:11 PM (14 years ago)
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 atrac gets an !ImportError exception: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 the trac gets an !ImportError exception: 2 2 3 3 {{{