From 893d86cad70dc50814e8f26c3f96127d9480f120 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 5 Feb 2011 14:52:23 -0500 Subject: add missing import (thanks donri) --- pyramid/view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyramid/view.py b/pyramid/view.py index fb63e9f7f..7f1e03199 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -269,6 +269,7 @@ class AppendSlashNotFoundViewFactory(object): from pyramid.exceptions import NotFound from pyramid.view import AppendSlashNotFoundViewFactory + from pyramid.httpexceptions import HTTPNotFound def notfound_view(context, request): return HTTPNotFound('It aint there, stop trying!') -- cgit v1.2.3