From 71a337ee08d5f55dbfd719bfa2d0f43b77d5db9f Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Wed, 6 Apr 2005 07:24:28 +0000 Subject: [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-157] change SubsystemHandler/SFTPServerInterface API change the API of SubsystemHandler to accept a reference to the ServerInstance object during construction. this will break all code that currently creates subsystem handlers (like sftp servers) -- sorry! lots of little doc fixups (mostly indenting). --- tests/stub_sftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/stub_sftp.py b/tests/stub_sftp.py index 639477cc..4b8b9c3c 100644 --- a/tests/stub_sftp.py +++ b/tests/stub_sftp.py @@ -56,7 +56,7 @@ class StubSFTPServer (SFTPServerInterface): # assume current folder is a fine root # (the tests always create and eventualy delete a subfolder, so there shouldn't be any mess) ROOT = os.getcwd() - + def _realpath(self, path): return self.ROOT + self.canonicalize(path) -- cgit v1.2.3