~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-09 14:21:13 UTC
  • mfrom: (5016.1.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100209142113-o8yqxlo2kqgp98q0
(vila) Merge 2.1 branch including fix for #516183) and fix NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
3441
3441
    def get_transport_type(typestring):
3442
3442
        """Parse and return a transport specifier."""
3443
3443
        if typestring == "sftp":
3444
 
            from bzrlib.transport.sftp import SFTPAbsoluteServer
3445
 
            return SFTPAbsoluteServer
 
3444
            from bzrlib.tests import stub_sftp
 
3445
            return stub_sftp.SFTPAbsoluteServer
3446
3446
        if typestring == "memory":
3447
3447
            from bzrlib.transport.memory import MemoryServer
3448
3448
            return MemoryServer