diff options
Diffstat (limited to 'Mailman/htmlformat.py')
-rw-r--r-- | Mailman/htmlformat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index f41c0b43..d80d081a 100644 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -334,12 +334,12 @@ class Document(Container): output.append('%s</HTML>' % tab) return NL.join(output) - def addError(self, errmsg, tag=None, *args): + def addError(self, errmsg, tag=None): if tag is None: tag = _('Error: ') self.AddItem(Header(3, Bold(FontAttr( _(tag), color=mm_cfg.WEB_ERROR_COLOR, size='+2')).Format() + - Italic(errmsg % args).Format())) + Italic(errmsg).Format())) class HeadlessDocument(Document): |