diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-15 03:16:18 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-15 03:16:18 +0000 |
| commit | d7592dc54db4ebe21fbcf48fd82ff01518c01af4 (patch) | |
| tree | c5343e82f7b8df09b32b4f255a2d81fde63e3fcc | |
| parent | 7cd5d4bf56a8ccd6ae2eeb0cd4be0f1688892e0f (diff) | |
| download | pyramid-d7592dc54db4ebe21fbcf48fd82ff01518c01af4.tar.gz pyramid-d7592dc54db4ebe21fbcf48fd82ff01518c01af4.tar.bz2 pyramid-d7592dc54db4ebe21fbcf48fd82ff01518c01af4.zip | |
Fix interfaces.
| -rw-r--r-- | repoze/bfg/interfaces.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index 013267b7f..8dc7ac2af 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -30,7 +30,7 @@ deprecated( class IRequestFactory(Interface): """ A utility which generates a request factory """ - def __call__(self): + def __call__(environ): """ Return a request factory (e.g. a callable that accepts an environ and returns an object implementing IRequest, e.g. ``webob.Request``)""" @@ -55,7 +55,7 @@ class IHEADRequest(IRequest): class IResponseFactory(Interface): """ A utility which generates a response factory """ - def __call__(self): + def __call__(*arg, **kw): """ Return a response factory (e.g. a callable that returns an object implementing IResponse, e.g. ``webob.Response``; it should accept all the arguments that the webob.Response class |
