~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.3.7.

  • Committer: Vincent Ladeuil
  • Date: 2010-06-02 13:01:24 UTC
  • mto: (5247.6.1 http-leaks)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100602130124-wapaxlsay5csk345
Provide connect_socket (socket.create_connection) for pythons older than 2.6.

* bzrlib/tests/test_http.py:
(RecordingServer.connect_socket): Removed.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin.connect_socket): Removed.

* bzrlib/osutils.py:
(connect_socket): Remove code duplication, we are about to use it
a third time.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: