server: indent block that's about to get conditionalized
Differential Revision: https://phab.mercurial-scm.org/D1083
--- a/mercurial/hgweb/server.py Sat Oct 14 18:41:20 2017 +0900
+++ b/mercurial/hgweb/server.py Sat Oct 14 15:53:36 2017 -0400
@@ -130,11 +130,12 @@
if query:
env[r'QUERY_STRING'] = query
- if self.headers.typeheader is None:
- env[r'CONTENT_TYPE'] = self.headers.type
- else:
- env[r'CONTENT_TYPE'] = self.headers.typeheader
- length = self.headers.getheader('content-length')
+ if True:
+ if self.headers.typeheader is None:
+ env[r'CONTENT_TYPE'] = self.headers.type
+ else:
+ env[r'CONTENT_TYPE'] = self.headers.typeheader
+ length = self.headers.getheader('content-length')
if length:
env[r'CONTENT_LENGTH'] = length
for header in [h for h in self.headers.keys()