diff options
Diffstat (limited to 'pyload/remote/thriftbackend/Protocol.py')
-rw-r--r-- | pyload/remote/thriftbackend/Protocol.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/remote/thriftbackend/Protocol.py b/pyload/remote/thriftbackend/Protocol.py index ecf0680ad..3aefa167f 100644 --- a/pyload/remote/thriftbackend/Protocol.py +++ b/pyload/remote/thriftbackend/Protocol.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -from thrift.protocol import TBinaryProtocol +import thrift -class Protocol(TBinaryProtocol.TBinaryProtocol): +class Protocol(thrift.protocol.TBinaryProtocol.thrift.protocol.TBinaryProtocol): def writeString(self, str): try: @@ -26,7 +26,7 @@ class Protocol(TBinaryProtocol.TBinaryProtocol): return str -class ProtocolFactory(TBinaryProtocol.TBinaryProtocolFactory): +class ProtocolFactory(thrift.protocol.TBinaryProtocol.thrift.protocol.TBinaryProtocolFactory): def getProtocol(self, trans): prot = Protocol(trans, self.strictRead, self.strictWrite) |