From a829814915b7bfa25e3a70c11ed6fd96da465b4e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 18:37:30 -0400 Subject: [PATCH] unused hook point --- pyramid/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/static.py b/pyramid/static.py index 2a6dabe71f..5d1bfbcfac 100644 --- a/pyramid/static.py +++ b/pyramid/static.py @@ -134,7 +134,7 @@ def __call__(self, context, request): if not exists(filepath): return HTTPNotFound(request.url) - return self.FileResponse(filepath ,self.cache_max_age) + return FileResponse(filepath ,self.cache_max_age) def add_slash_redirect(self, request): url = request.path_url + '/'