changeset 6085:e1f11b8a1e9e

hgweb: disable cgitb by default in hgwebdir.fcgi too
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 13 Feb 2008 05:27:04 +0300
parents a672df805855
children e85deb6dcf9d
files contrib/hgwebdir.fcgi
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/hgwebdir.fcgi	Tue Feb 12 23:35:44 2008 +0100
+++ b/contrib/hgwebdir.fcgi	Wed Feb 13 05:27:04 2008 +0300
@@ -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.