Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10450, comment 1


Ignore:
Timestamp:
Oct 17, 2012, 8:58:17 PM (9 years ago)
Author:
Peter Suter

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10450, comment 1

    initial v1  
    1 This is caused in [source:tags/trac-1.0/trac/ticket/notification.py?marks=184,193,195,240,251#L161 TicketNotifyEmail] by [source:tags/trac-1.0/trac/util/text.py#L514 trac.util.text.wrap], which uses `trac.util.text.UnicodeTextWrapper`, a subclass of Python's `textwrap.TextWrapper`.
     1This is caused in [source:tags/trac-1.0/trac/ticket/notification.py?marks=184,193,195,240,251#L161 TicketNotifyEmail] by [source:tags/trac-1.0/trac/util/text.py#L514 trac.util.text.wrap], which uses `trac.util.text.UnicodeTextWrapper` (introduced for #10006), a subclass of Python's `textwrap.TextWrapper`.
    22
    33Since Python 2.6 `textwrap.TextWrapper` accepts a [http://docs.python.org/library/textwrap.html#textwrap.TextWrapper.break_on_hyphens break_on_hyphens] argument. That's irrelevant though since: