diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-15 03:33:14 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-15 03:33:14 +0000 |
| commit | 3e7be735f11f668c8d8044aeffba547a83650948 (patch) | |
| tree | 0ef745f63a2cb5cad2383bee6c9f2c42004db2bd | |
| parent | d7592dc54db4ebe21fbcf48fd82ff01518c01af4 (diff) | |
| download | pyramid-3e7be735f11f668c8d8044aeffba547a83650948.tar.gz pyramid-3e7be735f11f668c8d8044aeffba547a83650948.tar.bz2 pyramid-3e7be735f11f668c8d8044aeffba547a83650948.zip | |
Unfix interfaces (thanks Tres).
| -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 8dc7ac2af..4f78ae023 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__(environ): + def __call__(): """ 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__(*arg, **kw): + def __call__(): """ 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 |
