From 3b8c3155656c694cf9c2dd84a96d758b324f7b83 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 7 Jul 2008 14:16:59 +0000 Subject: Clean up mapply a little. --- repoze/bfg/interfaces.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'repoze/bfg/interfaces.py') diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index af68410dd..a0409ba89 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -1,6 +1,9 @@ from zope.interface import Interface from zope.interface import Attribute +class IRequest(Interface): + """ Marker interface for a request object """ + class IResponse(Interface): status = Attribute('WSGI status code of response') headerlist = Attribute('List of response headers') @@ -36,9 +39,6 @@ class IWSGIApplicationFactory(Interface): def __call__(view, request): """ Return an object that implements IWSGIApplication """ -class IRequest(Interface): - """ Marker interface for a request object """ - class ILocation(Interface): """Objects that have a structural location""" __parent__ = Attribute("The parent in the location hierarchy") -- cgit v1.2.3