diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-01 13:51:34 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-01 13:51:34 +0200 |
commit | 670fb45a46d8723b2c7bf3d667911c567c433283 (patch) | |
tree | fb8de33ae76f8e146ad88b6c0e485fbfec0ead27 /module/remote/ThriftBackend.py | |
parent | cleanup (diff) | |
download | pyload-670fb45a46d8723b2c7bf3d667911c567c433283.tar.xz |
new api class + documentation
Diffstat (limited to 'module/remote/ThriftBackend.py')
-rw-r--r-- | module/remote/ThriftBackend.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/remote/ThriftBackend.py b/module/remote/ThriftBackend.py index 1a56b0435..b4a2bb25e 100644 --- a/module/remote/ThriftBackend.py +++ b/module/remote/ThriftBackend.py @@ -19,7 +19,6 @@ from os.path import exists from module.remote.RemoteManager import BackendBase -from thriftbackend.Handler import Handler from thriftbackend.Processor import Processor from thriftbackend.Protocol import ProtocolFactory from thriftbackend.Socket import ServerSocket @@ -30,8 +29,7 @@ from thrift.server import TServer class ThriftBackend(BackendBase): def setup(self, host, port): - handler = Handler(self) - processor = Processor(handler) + processor = Processor(self.core.api) key = None cert = None |