equal
deleted
inserted
replaced
267 if not serverhostname: |
267 if not serverhostname: |
268 raise error.Abort(_(b'serverhostname argument is required')) |
268 raise error.Abort(_(b'serverhostname argument is required')) |
269 |
269 |
270 if b'SSLKEYLOGFILE' in encoding.environ: |
270 if b'SSLKEYLOGFILE' in encoding.environ: |
271 try: |
271 try: |
272 import sslkeylog |
272 import sslkeylog # pytype: disable=import-error |
273 |
273 |
274 sslkeylog.set_keylog( |
274 sslkeylog.set_keylog( |
275 pycompat.fsdecode(encoding.environ[b'SSLKEYLOGFILE']) |
275 pycompat.fsdecode(encoding.environ[b'SSLKEYLOGFILE']) |
276 ) |
276 ) |
277 ui.warnnoi18n( |
277 ui.warnnoi18n( |