From 3e7be735f11f668c8d8044aeffba547a83650948 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 15 Jan 2009 03:33:14 +0000 Subject: Unfix interfaces (thanks Tres). --- repoze/bfg/interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repoze') 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 -- cgit v1.2.3