/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: Andrew Bennetts
  • Date: 2008-05-07 22:47:56 UTC
  • mfrom: (3412 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3414.
  • Revision ID: andrew.bennetts@canonical.com-20080507224756-upxgmud0bdo4ysuf
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
from bzrlib.osutils import pathjoin, fancy_rename, getcwd
51
51
from bzrlib.symbol_versioning import (
52
52
        deprecated_function,
53
 
        zero_ninety,
54
53
        )
55
54
from bzrlib.trace import mutter, warning
56
55
from bzrlib.transport import (
92
91
_default_do_prefetch = (_paramiko_version >= (1, 5, 5))
93
92
 
94
93
 
95
 
@deprecated_function(zero_ninety)
96
 
def clear_connection_cache():
97
 
    """Remove all hosts from the SFTP connection cache.
98
 
 
99
 
    Primarily useful for test cases wanting to force garbage collection.
100
 
    We don't have a global connection cache anymore.
101
 
    """
102
 
 
103
94
class SFTPLock(object):
104
95
    """This fakes a lock in a remote location.
105
96