1 Patch: fix_missing_language_crash.patch
2 Author: Paul Wise <pabs3@bonedaddy.net>
3 Fix crash when a language is missing
4 Index: Mailman/htmlformat.py
5 ===================================================================
6 --- Mailman/htmlformat.py.orig 2006-09-19 16:12:12.000000000 +0200
7 +++ Mailman/htmlformat.py 2006-09-19 16:13:47.000000000 +0200
10 def Format(self, indent=0, **kws):
13 + if self.language and Utils.IsLanguage(self.language):
14 charset = Utils.GetCharSet(self.language)
15 output = ['Content-Type: text/html; charset=%s\n' % charset]
16 if not self.suppress_head: