From 1e3082082f90680de629eed83dde1e2294bae47a Mon Sep 17 00:00:00 2001
From: Chris McDonough <chrism@plope.com>
Date: Sat, 05 Feb 2011 21:15:15 +0100
Subject: [PATCH] import HTTPNotFound; torturous spelling to not increase page length

---
 pyramid/view.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/pyramid/view.py b/pyramid/view.py
index 7f1e031..c14a587 100644
--- a/pyramid/view.py
+++ b/pyramid/view.py
@@ -271,8 +271,7 @@
        from pyramid.view import AppendSlashNotFoundViewFactory
        from pyramid.httpexceptions import HTTPNotFound
 
-       def notfound_view(context, request):
-           return HTTPNotFound('It aint there, stop trying!')
+       def notfound_view(context, request): return HTTPNotFound('nope')
 
        custom_append_slash = AppendSlashNotFoundViewFactory(notfound_view)
        config.add_view(custom_append_slash, context=NotFound)

--
Gitblit v1.9.3