1739
1736
register_lazy_transport('ftp://', 'bzrlib.transport.ftp', 'FtpTransport')
1740
1737
register_transport_proto('aftp://', help="Access using active FTP.")
1741
1738
register_lazy_transport('aftp://', 'bzrlib.transport.ftp', 'FtpTransport')
1745
kerberos_available = True
1747
kerberos_available = False
1749
if kerberos_available:
1750
# Default to trying GSSAPI authentication (if the kerberos module is
1752
register_transport_proto('ftp+gssapi://', register_netloc=True)
1753
register_lazy_transport('ftp+gssapi://', 'bzrlib.transport.ftp._gssapi',
1754
'GSSAPIFtpTransport')
1755
register_transport_proto('aftp+gssapi://', register_netloc=True)
1756
register_lazy_transport('aftp+gssapi://', 'bzrlib.transport.ftp._gssapi',
1757
'GSSAPIFtpTransport')
1758
register_transport_proto('ftp+nogssapi://', register_netloc=True)
1759
register_transport_proto('aftp+nogssapi://', register_netloc=True)
1761
register_lazy_transport('ftp://', 'bzrlib.transport.ftp._gssapi',
1762
'GSSAPIFtpTransport')
1763
register_lazy_transport('aftp://', 'bzrlib.transport.ftp._gssapi',
1764
'GSSAPIFtpTransport')
1765
register_lazy_transport('ftp+nogssapi://', 'bzrlib.transport.ftp',
1767
register_lazy_transport('aftp+nogssapi://', 'bzrlib.transport.ftp',
1739
register_transport_proto('gio+', help="Access using any GIO supported protocols.")
1740
register_lazy_transport('gio+', 'bzrlib.transport.gio_transport', 'GioTransport')
1743
# Default to trying GSSAPI authentication (if the kerberos module is
1745
register_transport_proto('ftp+gssapi://', register_netloc=True)
1746
register_transport_proto('aftp+gssapi://', register_netloc=True)
1747
register_transport_proto('ftp+nogssapi://', register_netloc=True)
1748
register_transport_proto('aftp+nogssapi://', register_netloc=True)
1749
register_lazy_transport('ftp+gssapi://', 'bzrlib.transport.ftp._gssapi',
1750
'GSSAPIFtpTransport')
1751
register_lazy_transport('aftp+gssapi://', 'bzrlib.transport.ftp._gssapi',
1752
'GSSAPIFtpTransport')
1753
register_lazy_transport('ftp://', 'bzrlib.transport.ftp._gssapi',
1754
'GSSAPIFtpTransport')
1755
register_lazy_transport('aftp://', 'bzrlib.transport.ftp._gssapi',
1756
'GSSAPIFtpTransport')
1757
register_lazy_transport('ftp+nogssapi://', 'bzrlib.transport.ftp',
1759
register_lazy_transport('aftp+nogssapi://', 'bzrlib.transport.ftp',
1770
1762
register_transport_proto('memory://')
1771
1763
register_lazy_transport('memory://', 'bzrlib.transport.memory',