~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Robert Collins
  • Date: 2005-10-20 03:06:20 UTC
  • mfrom: (1185.16.80)
  • Revision ID: robertc@robertcollins.net-20051020030620-3fa3160be265c585
mergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
 
"""
18
 
Implementation of Transport over SFTP, using paramiko.
19
 
"""
 
17
"""Implementation of Transport over SFTP, using paramiko."""
20
18
 
21
19
import getpass
22
20
import os
33
31
try:
34
32
    import paramiko
35
33
except ImportError:
36
 
    error('The SFTP plugin requires paramiko.')
 
34
    error('The SFTP transport requires paramiko.')
37
35
    raise
38
36
 
39
37
 
444
442
        except IOError:
445
443
            pass
446
444
        return False
447
 
 
448
 
 
449
 
register_transport('sftp://', SFTPTransport)
450