/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/https_server.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-12 01:41:38 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181112014138-3b0zyx91cu3wdq3k
More PEP8 fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""HTTPS test server, available when ssl python module is available"""
18
18
 
19
19
import ssl
20
 
import sys
21
20
 
22
21
from . import (
23
22
    http_server,
51
50
        if serving:
52
51
            try:
53
52
                request.do_handshake()
54
 
            except ssl.SSLError as e:
 
53
            except ssl.SSLError:
55
54
                # FIXME: We proabaly want more tests to capture which ssl
56
55
                # errors are worth reporting but mostly our tests want an https
57
56
                # server that works -- vila 2012-01-19