Why is notification.py's style for use of TracError so different from other
files?

Compare

raise TracError, 'Invalid email encoding setting: %s' % pref

as opposed to

raise TracError('No upgrade module for version %i (%s.py)' % (i, name))

For the i18n work I need to rework this to

raise TracError(_('No upgrade module for version %i (%s.py)' % (i, name)))

I just wonder why the styles are inconsistent. :)

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
I am, I was, and I will be...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to