/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-16 02:26:44 UTC
  • mfrom: (2017 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2020.
  • Revision ID: john@arbash-meinel.com-20060916022644-e19857e642b00a9e
[merge] bzr.dev 2017

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
import select
31
31
import socket
32
32
import stat
33
 
import subprocess
34
33
import sys
35
34
import time
36
35
import urllib
41
40
    errors,
42
41
    urlutils,
43
42
    )
44
 
from bzrlib.errors import (FileExists, 
 
43
from bzrlib.errors import (FileExists,
45
44
                           NoSuchFile, PathNotChild,
46
45
                           TransportError,
47
 
                           LockError, 
 
46
                           LockError,
48
47
                           PathError,
49
48
                           ParamikoNotPresent,
50
 
                           UnknownSSH,
51
49
                           )
52
50
from bzrlib.osutils import pathjoin, fancy_rename, getcwd
53
51
from bzrlib.trace import mutter, warning
1045
1043
        # Re-import these as locals, so that they're still accessible during
1046
1044
        # interpreter shutdown (when all module globals get set to None, leading
1047
1045
        # to confusing errors like "'NoneType' object has no attribute 'error'".
1048
 
        import socket, errno
1049
1046
        class FakeChannel(object):
1050
1047
            def get_transport(self):
1051
1048
                return self