Mercurial > hg
changeset 6080:4baad19c4801
hgweb: disable cgitb by default
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 12 Feb 2008 19:07:45 +0300 |
parents | ea34059b89de |
children | beb775df5630 |
files | hgweb.cgi hgwebdir.cgi |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
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.
--- a/hgwebdir.cgi Tue Feb 12 11:35:06 2008 +0100 +++ b/hgwebdir.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.