From a1c73f6c305c7f74987d99855ba59d8fa823c253 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 27 Feb 2008 01:26:18 -0500 Subject: Bite the bullet: rename the Mailman package to mailman. --- mailman/interfaces/mlistrequest.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mailman/interfaces/mlistrequest.py (limited to 'mailman/interfaces/mlistrequest.py') diff --git a/mailman/interfaces/mlistrequest.py b/mailman/interfaces/mlistrequest.py new file mode 100644 index 000000000..66d10024e --- /dev/null +++ b/mailman/interfaces/mlistrequest.py @@ -0,0 +1,29 @@ +# Copyright (C) 2007-2008 by the Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. + +"""Interface for a web request accessing a mailing list.""" + +from zope.interface import Interface, Attribute + + + +class IMailingListRequest(Interface): + """The web request accessing a mailing list.""" + + location = Attribute( + """The url location of the request, used to calculate relative urls by + other components.""") -- cgit v1.2.3-70-g09d2