/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 breezy/tests/stub_sftp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:06:46 UTC
  • mfrom: (6673 work)
  • mto: This revision was merged to the branch mainline in revision 6675.
  • Revision ID: jelmer@jelmer.uk-20170610000646-xj6jh277lo4xuo10
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
        ptrans = paramiko.Transport(self.request)
349
349
        self.paramiko_transport = ptrans
350
350
        # Set it to a channel under 'bzr' so that we get debug info
351
 
        ptrans.set_log_channel('bzr.paramiko.transport')
 
351
        ptrans.set_log_channel('brz.paramiko.transport')
352
352
        ptrans.add_server_key(tcs.get_host_key())
353
353
        ptrans.set_subsystem_handler('sftp', paramiko.SFTPServer,
354
354
                                     StubSFTPServer, root=tcs._root,
384
384
            def get_transport(self):
385
385
                return self
386
386
            def get_log_channel(self):
387
 
                return 'bzr.paramiko'
 
387
                return 'brz.paramiko'
388
388
            def get_name(self):
389
389
                return '1'
390
390
            def get_hexdump(self):