From 79ce6f862285f355455119d64d8aa1753cff0470 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 21 Sep 2011 16:43:22 +0200 Subject: royflos GUI patches, prefix option for webinterface ( --- module/remote/thriftbackend/ThriftClient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/remote/thriftbackend/ThriftClient.py') 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 -- cgit v1.2.3