Edgewall Software

Changes between Initial Version and Version 1 of Ticket #9494, comment 6


Ignore:
Timestamp:
Aug 31, 2016, 5:27:44 PM (5 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9494, comment 6

    initial v1  
    33http://trac.edgewall.org/wiki/TracNotification
    44because the $ticket_props no longer parses properly for me to split on the fields because there are new lines and it's not building the array of values properly:
    5 --------------------------------------------------------------------------
     5{{{
    66{% with
    77   pv = [(a[0].strip(), a[1].strip()) for a in [b.split(':') for b in
     
    1212${'\n'.join('%s\t%s' % (format(p[0]+':', ' <12'), p[1]) for p in pv if p[0] in sel)}
    1313{% end %}\
    14 --------------------------------------------------------------------------
     14}}}
    1515
    1616Is it possible for someone to update the above code to parse the $ticket_props after this change so that I can format my emails in a way that works?  How else can I fix my installation? We used easy_install, and I'm not sure how to patch it when I dont know how to find the source for notification.py.