summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-09-06 18:37:30 -0400
committerChris McDonough <chrism@plope.com>2011-09-06 18:37:30 -0400
commita829814915b7bfa25e3a70c11ed6fd96da465b4e (patch)
treed97755cc9126ab4bcf799870f7be1dda2ed039f7
parent77ef7adab7dedb130c7fb64badf4015c029a4ce2 (diff)
downloadpyramid-a829814915b7bfa25e3a70c11ed6fd96da465b4e.tar.gz
pyramid-a829814915b7bfa25e3a70c11ed6fd96da465b4e.tar.bz2
pyramid-a829814915b7bfa25e3a70c11ed6fd96da465b4e.zip
unused hook point
-rw-r--r--pyramid/static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/static.py b/pyramid/static.py
index 2a6dabe71..5d1bfbcfa 100644
--- a/pyramid/static.py
+++ b/pyramid/static.py
@@ -134,7 +134,7 @@ class static_view(object):
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 + '/'