diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-07 14:16:59 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-07 14:16:59 +0000 |
| commit | 3b8c3155656c694cf9c2dd84a96d758b324f7b83 (patch) | |
| tree | 1aee479b9eb929657c747f619077d3d398ba0979 /repoze/bfg/interfaces.py | |
| parent | c91c9c78274ab454980a0087ade15cc897f47ddc (diff) | |
| download | pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.tar.gz pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.tar.bz2 pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.zip | |
Clean up mapply a little.
Diffstat (limited to 'repoze/bfg/interfaces.py')
| -rw-r--r-- | repoze/bfg/interfaces.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") |
