From 71ebe367a52316811f570d09f2213c192a47973f Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 25 Mar 2016 10:24:19 -0400 Subject: Reorder the @public definition. This allows us to import it in more places without threat of import errors. --- src/mailman/interfaces/errors.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mailman/interfaces/errors.py') diff --git a/src/mailman/interfaces/errors.py b/src/mailman/interfaces/errors.py index 6045e4868..dbf74c035 100644 --- a/src/mailman/interfaces/errors.py +++ b/src/mailman/interfaces/errors.py @@ -22,11 +22,9 @@ components. More specific exceptions will be located in the relevant interfaces. """ -# We can't use @mailman.public here because of circular imports. -__all__ = [ - 'MailmanError', - ] +from mailman import public +@public class MailmanError(Exception): """Base class for all Mailman exceptions.""" -- cgit v1.2.3-70-g09d2