# HG changeset patch # User Maxim Dounin # Date 2008-02-13 02:27:04 # Node ID e1f11b8a1e9e6e1ce18aeaba506c904fcfc98878 # Parent a672df805855279b4dd5a90fb9ae497db794cb45 hgweb: disable cgitb by default in hgwebdir.fcgi too diff --git a/contrib/hgwebdir.fcgi b/contrib/hgwebdir.fcgi --- a/contrib/hgwebdir.fcgi +++ b/contrib/hgwebdir.fcgi @@ -9,9 +9,9 @@ # enable demandloading to reduce startup time from mercurial import demandimport; demandimport.enable() -# send python tracebacks to the browser if an error occurs: -import cgitb -cgitb.enable() +# Uncomment to send python tracebacks to the browser if an error occurs: +#import cgitb +#cgitb.enable() # If you'd like to serve pages with UTF-8 instead of your default # locale charset, you can do so by uncommenting the following lines.