hgweb: disable cgitb by default in hgwebdir.fcgi too
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 13 Feb 2008 05:27:04 +0300
changeset 6085 e1f11b8a1e9e
parent 6084 a672df805855
child 6086 e85deb6dcf9d
hgweb: disable cgitb by default in hgwebdir.fcgi too
contrib/hgwebdir.fcgi
--- 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.