Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/server.py @ 26202:04af43009c8b
hgweb.server: fix _httprequesthandlerssl help text
author | timeless@mozdev.org |
---|---|
date | Tue, 08 Sep 2015 15:32:20 -0400 |
parents | 328739ea70c3 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
26201:c5b2074ae8c0 | 26202:04af43009c8b |
---|---|
237 except (OpenSSL.SSL.SysCallError, OpenSSL.SSL.ZeroReturnError): | 237 except (OpenSSL.SSL.SysCallError, OpenSSL.SSL.ZeroReturnError): |
238 self.close_connection = True | 238 self.close_connection = True |
239 pass | 239 pass |
240 | 240 |
241 class _httprequesthandlerssl(_httprequesthandler): | 241 class _httprequesthandlerssl(_httprequesthandler): |
242 """HTTPS handler based on Pythons ssl module (introduced in 2.6)""" | 242 """HTTPS handler based on Python's ssl module""" |
243 | 243 |
244 url_scheme = 'https' | 244 url_scheme = 'https' |
245 | 245 |
246 @staticmethod | 246 @staticmethod |
247 def preparehttpserver(httpserver, ssl_cert): | 247 def preparehttpserver(httpserver, ssl_cert): |