diff options
author | Robey Pointer <robey@lag.net> | 2005-04-06 07:24:28 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-04-06 07:24:28 +0000 |
commit | 71a337ee08d5f55dbfd719bfa2d0f43b77d5db9f (patch) | |
tree | 2dbc8d0a0fc53016976200afc3dc7edae4b1cf4e /tests/stub_sftp.py | |
parent | 5d8d1938fa6aa58a1b27730d8bcac8db963f4595 (diff) |
[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).
Diffstat (limited to 'tests/stub_sftp.py')
-rw-r--r-- | tests/stub_sftp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |