~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-19 08:31:08 UTC
  • mfrom: (1666.1.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060419083108-fab2970f4575b010
Change the default branch format to be metadir. (Robert Collins, Aaron Bentley).

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
# X seconds. But that requires a lot more fanciness.
191
191
_connected_hosts = weakref.WeakValueDictionary()
192
192
 
 
193
def clear_connection_cache():
 
194
    """Remove all hosts from the SFTP connection cache.
 
195
 
 
196
    Primarily useful for test cases wanting to force garbage collection.
 
197
    """
 
198
    _connected_hosts.clear()
 
199
 
193
200
 
194
201
def load_host_keys():
195
202
    """