From 4a7e3cf333359e022b6df1ecdee83141d9e54084 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 24 May 2015 10:26:10 -0400 Subject: * A handful of unused legacy exceptions have been removed. The redundant `MailmanException` has been removed; use `MailmanError` everywhere. --- src/mailman/utilities/i18n.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/utilities/i18n.py') diff --git a/src/mailman/utilities/i18n.py b/src/mailman/utilities/i18n.py index ba3923e06..5faf62cf9 100644 --- a/src/mailman/utilities/i18n.py +++ b/src/mailman/utilities/i18n.py @@ -32,14 +32,14 @@ import errno from itertools import product from mailman.config import config from mailman.core.constants import system_preferences -from mailman.core.errors import MailmanException +from mailman.core.errors import MailmanError from mailman.core.i18n import _ from mailman.utilities.string import expand, wrap as wrap_text from pkg_resources import resource_filename -class TemplateNotFoundError(MailmanException): +class TemplateNotFoundError(MailmanError): """The named template was not found.""" def __init__(self, template_file): -- cgit v1.2.3-70-g09d2