summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-21 16:43:22 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-21 16:43:22 +0200
commit79ce6f862285f355455119d64d8aa1753cff0470 (patch)
tree238b2f309d2f90cb9c3d722b15748b45a6e5d6d1 /module/remote/thriftbackend
parentyourfiles.biz fix (diff)
downloadpyload-79ce6f862285f355455119d64d8aa1753cff0470.tar.xz
royflos GUI patches, prefix option for webinterface (
Diffstat (limited to 'module/remote/thriftbackend')
-rw-r--r--module/remote/thriftbackend/ThriftClient.py3
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