diff options
Diffstat (limited to 'module/remote/thriftbackend')
-rw-r--r-- | module/remote/thriftbackend/ThriftClient.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/ThriftClient.py b/module/remote/thriftbackend/ThriftClient.py index 27cb89b0d..7e60d9fdc 100644 --- a/module/remote/thriftbackend/ThriftClient.py +++ b/module/remote/thriftbackend/ThriftClient.py @@ -15,9 +15,10 @@ from thrift.transport import TTransport from Socket import Socket from Protocol import Protocol +# modules should import ttypes from here, when want to avoid importing API + from thriftgen.pyload import Pyload from thriftgen.pyload.ttypes import * -from thriftgen.pyload.Pyload import PackageDoesNotExists, FileDoesNotExists ConnectionClosed = TTransport.TTransportException |