From 8729393636d47333f9cb5769bb031f15848feba5 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 25 Sep 2002 05:15:36 +0000 Subject: [PATCH] #613310 ] traceback on onexistant items git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1232 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 1 + roundup/cgi/client.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 5667c37..7e6325b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -31,6 +31,7 @@ are given with the most recent entry first. - better handling of Page Template compilation errors - handle multiple unrelated indexed classes - #614188 ] Exception in mailgw.py +- #613310 ] traceback on onexistant items 2002-09-13 0.5.0 beta2 diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index a2e1e1e..3285709 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.42 2002-09-25 02:10:25 richard Exp $ +# $Id: client.py,v 1.43 2002-09-25 05:15:36 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -168,6 +168,9 @@ class Client: self.serve_static_file(str(file)) except Unauthorised, message: self.write(self.renderTemplate('page', '', error_message=message)) + except NotFound: + # pass through + raise except: # everything else self.write(cgitb.html()) -- 2.30.2