I am trying to customize my email ticket template as documented at
http://trac.edgewall.org/wiki/TracNotification

In particular, I copied the paragraph that replaces the ascii table of 
properties with the one-line-per-property format for HTML mail readers. 
 However, after saving and restarting trac, I now get this error whenever I 
try to update a ticket:

*Warning:* The change<http://trac.thismoment.com/trac/ticket/16090#comment:4> 
has 
been saved, but an error occurred while sending notifications: "format" not 
defined

It is complaining about this line:

${'\n'.join('%s\t%s' % (format(p[0]+':', ' <12'), p[1]) for p in pv if p[0] 
in sel)}

I copied it straight out of the wiki and I don't know squat about Python so 
I'm not sure how to fix it.  Help please!
-jsd-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/6AqVAmZ3-TkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to