summaryrefslogtreecommitdiffstats
path: root/pyload/remote/thriftbackend/ThriftClient.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 17:28:58 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 17:28:58 +0200
commit938b7e6141e2895c7d41b0e8ef4b9416912e2e9e (patch)
tree6ceef0718139a13ced3fb607634fa60fc81212c4 /pyload/remote/thriftbackend/ThriftClient.py
parentSpare code cosmetics (3) (diff)
downloadpyload-938b7e6141e2895c7d41b0e8ef4b9416912e2e9e.tar.xz
Spare code cosmetics (4)
Diffstat (limited to 'pyload/remote/thriftbackend/ThriftClient.py')
-rw-r--r--pyload/remote/thriftbackend/ThriftClient.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/remote/thriftbackend/ThriftClient.py b/pyload/remote/thriftbackend/ThriftClient.py
index 60a4e9ca9..4f1c8dcc2 100644
--- a/pyload/remote/thriftbackend/ThriftClient.py
+++ b/pyload/remote/thriftbackend/ThriftClient.py
@@ -18,15 +18,19 @@ from pyload.remote.thriftbackend.thriftgen.pyload.ttypes import *
ConnectionClosed = TTransport.TTransportException
+
class WrongLogin(Exception):
pass
+
class NoConnection(Exception):
pass
+
class NoSSL(Exception):
pass
+
class ThriftClient(object):
def __init__(self, host="localhost", port=7227, user="", password=""):