~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

- load paramiko sftp transport by default
  (will break if paramiko isn't installed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
 
357
357
# Local transport should always be initialized
358
358
import bzrlib.transport.local
 
359
 
 
360
 
 
361
def register_builtin_transports():
 
362
    """Register all builtin transport modules.
 
363
    
 
364
    This happens as a sideeffect of importing the modules.
 
365
    """
 
366
    import bzrlib.transport.local, \
 
367
           bzrlib.transport.http, \
 
368
           bzrlib.transport.sftp