/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/transport/sftp.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-24 18:19:51 UTC
  • mfrom: (2919.2.2 netloc_protocols)
  • Revision ID: pqm@pqm.ubuntu.com-20071024181951-qqo4r5mqrhr032pf
(John Arbash Meinel) Register netloc protocols earlier. Helps reduce some race conditions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    FileFileStream,
58
58
    _file_streams,
59
59
    local,
60
 
    register_urlparse_netloc_protocol,
61
60
    Server,
62
61
    ssh,
63
62
    ConnectedTransport,
88
87
    from paramiko.sftp_file import SFTPFile
89
88
 
90
89
 
91
 
register_urlparse_netloc_protocol('sftp')
92
 
 
93
 
 
94
90
_paramiko_version = getattr(paramiko, '__version_info__', (0, 0, 0))
95
91
# don't use prefetch unless paramiko version >= 1.5.5 (there were bugs earlier)
96
92
_default_do_prefetch = (_paramiko_version >= (1, 5, 5))