[Trac] format not defined
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 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 trac-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.