/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 bzrlib/tests/http_server.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 15:38:26 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205153826-rnrd0m3iqoizqvrw
Apply 2to3 except fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        """
81
81
        try:
82
82
            self._handle_one_request()
83
 
        except socket.error, e:
 
83
        except socket.error as e:
84
84
            # Any socket error should close the connection, but some errors are
85
85
            # due to the client closing early and we don't want to pollute test
86
86
            # results, so we raise only the others.