diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-11 02:49:06 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-11 02:49:06 +0100 |
commit | e7cc40202600f85427441e367b18188289e4fbbb (patch) | |
tree | 878641d52aafdf9c0c785a6d97db0a8dd6ffdd21 /pyload/remote/thriftbackend | |
parent | Rename some events + engage renamed addon methods (diff) | |
download | pyload-e7cc40202600f85427441e367b18188289e4fbbb.tar.xz |
Clean up some import header
Diffstat (limited to 'pyload/remote/thriftbackend')
-rw-r--r-- | pyload/remote/thriftbackend/Processor.py | 2 | ||||
-rw-r--r-- | pyload/remote/thriftbackend/ThriftClient.py | 4 | ||||
-rw-r--r-- | pyload/remote/thriftbackend/ThriftTest.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pyload/remote/thriftbackend/Processor.py b/pyload/remote/thriftbackend/Processor.py index a8b87c82c..683697d1c 100644 --- a/pyload/remote/thriftbackend/Processor.py +++ b/pyload/remote/thriftbackend/Processor.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from thriftgen.pyload import Pyload +from pyload.remote.thriftbackend.thriftgen.pyload import Pyload class Processor(Pyload.Processor): def __init__(self, *args, **kwargs): diff --git a/pyload/remote/thriftbackend/ThriftClient.py b/pyload/remote/thriftbackend/ThriftClient.py index d7b0d2919..d5159320e 100644 --- a/pyload/remote/thriftbackend/ThriftClient.py +++ b/pyload/remote/thriftbackend/ThriftClient.py @@ -17,8 +17,8 @@ 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 pyload.remote.thriftbackend.thriftgen.pyload import Pyload +from pyload.remote.thriftbackend.thriftgen.pyload.ttypes import * ConnectionClosed = TTransport.TTransportException diff --git a/pyload/remote/thriftbackend/ThriftTest.py b/pyload/remote/thriftbackend/ThriftTest.py index 7243cc6f2..05c6ba40e 100644 --- a/pyload/remote/thriftbackend/ThriftTest.py +++ b/pyload/remote/thriftbackend/ThriftTest.py @@ -6,8 +6,8 @@ from os.path import join, abspath, dirname path = join((abspath(dirname(__file__))), "..", "..", "lib") sys.path.append(path) -from thriftgen.pyload import Pyload -from thriftgen.pyload.ttypes import * +from pyload.remote.thriftbackend.thriftgen.pyload import Pyload +from pyload.remote.thriftbackend.thriftgen.pyload.ttypes import * from Socket import Socket from thrift import Thrift |