diff mercurial/hgweb/wsgicgi.py @ 10339:23e608f42f2c

fix spaces/identation issues
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 05 Feb 2010 18:50:08 +0100
parents 25e572394f5c
children a1cb8ca051c0
line wrap: on
line diff
--- a/mercurial/hgweb/wsgicgi.py	Wed Feb 03 16:09:19 2010 +0000
+++ b/mercurial/hgweb/wsgicgi.py	Fri Feb 05 18:50:08 2010 +0100
@@ -30,7 +30,7 @@
     environ['wsgi.multiprocess'] = True
     environ['wsgi.run_once'] = True
 
-    if environ.get('HTTPS','off').lower() in ('on','1','yes'):
+    if environ.get('HTTPS', 'off').lower() in ('on', '1', 'yes'):
         environ['wsgi.url_scheme'] = 'https'
     else:
         environ['wsgi.url_scheme'] = 'http'