diff options
author | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-04-19 15:06:18 +0000 |
---|---|---|
committer | btimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-04-19 15:06:18 +0000 |
commit | 93617dfbf0b2478b8c9350322707756711933210 (patch) | |
tree | 2151745e17920033d1dbcf9ccaaff8a7cf2e32da /fs/expose | |
parent | 396fc66897ad1504556c2be249cf7ff3922fea2a (diff) | |
download | pyfilesystem-93617dfbf0b2478b8c9350322707756711933210.tar.gz |
Renamed ServerInterface to BaseServerInterface (should be overridden for authentication)
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@770 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/expose')
-rw-r--r-- | fs/expose/sftp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/expose/sftp.py b/fs/expose/sftp.py index 32506aa..2487e07 100644 --- a/fs/expose/sftp.py +++ b/fs/expose/sftp.py @@ -266,7 +266,7 @@ class SFTPRequestHandler(SocketServer.BaseRequestHandler): """ Start the paramiko server, this will start a thread to handle the connection. """ - self.transport.start_server(server=ServerInterface()) + self.transport.start_server(server=BaseServerInterface()) class ThreadedTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): @@ -298,7 +298,7 @@ class BaseSFTPServer(ThreadedTCPServer): self.host_key = host_key if RequestHandlerClass is None: RequestHandlerClass = SFTPRequestHandler - SocketServer.TCPServer.__init__(self,address,RequestHandlerClass) + SocketServer.TCPServer.__init__(self, address, RequestHandlerClass) def shutdown_request(self, request): # Prevent TCPServer from closing the connection prematurely @@ -309,7 +309,7 @@ class BaseSFTPServer(ThreadedTCPServer): return -class ServerInterface(paramiko.ServerInterface): +class BaseServerInterface(paramiko.ServerInterface): """ Paramiko ServerInterface implementation that performs user authentication. |