~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2485.8.23.

  • Committer: Vincent Ladeuil
  • Date: 2007-06-01 08:02:26 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-20070601080226-5styxtzexznctvg0
Assert the accepted schemes for sftp and ftp.

* bzrlib/transport/sftp.py:
(SFTPTransport.__init__): assert the accepted scheme.

* bzrlib/transport/ftp.py:
(FtpTransport.__init__): assert the accepted schemes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: