~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2485.8.33.

  • Committer: Vincent Ladeuil
  • Date: 2007-06-03 13:01:58 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070603130158-kfeitm6gxuxt0b1j
ftp connection sharing refactored. Tests passing.

* bzrlib/transport/ftp.py:
(FtpTransport._create_connection): New method. Refactored from
_get_FTP and implementing the new connection sharing mechanism.
(FtpTransport._reconnect): New method. Helper.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: