~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.py

  • Committer: Vincent Ladeuil
  • Date: 2007-05-30 07:15:16 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-20070530071516-gd5g28s954tfz63g
Create a new, empty, ConnectedTransport class.

* bzrlib/transport/sftp.py: 
(SFTPUrlHandling): Based on ConnectedTransport.

* bzrlib/transport/remote.py:
(RemoteTransport): Based on ConnectedTransport.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase): Based on ConnectedTransport.

* bzrlib/transport/ftp.py:
(FtpTransport): Based on ConnectedTransport.

* bzrlib/transport/__init__.py:
(ConnectedTransport): New class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        self.st_mode = mode
52
52
 
53
53
 
54
 
class RemoteTransport(transport.Transport):
 
54
class RemoteTransport(transport.ConnectedTransport):
55
55
    """Connection to a smart server.
56
56
 
57
57
    The connection holds references to the medium that can be used to send