diff hgweb.cgi @ 6080:4baad19c4801

hgweb: disable cgitb by default
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 12 Feb 2008 19:07:45 +0300
parents b913d3aacddc
children 50a277e6ceae
line wrap: on
line diff
--- a/hgweb.cgi	Tue Feb 12 11:35:06 2008 +0100
+++ b/hgweb.cgi	Tue Feb 12 19:07:45 2008 +0300
@@ -9,9 +9,9 @@
 # enable importing on demand 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.