diff options
author | 2015-04-17 17:28:58 +0200 | |
---|---|---|
committer | 2015-04-17 17:28:58 +0200 | |
commit | 938b7e6141e2895c7d41b0e8ef4b9416912e2e9e (patch) | |
tree | 6ceef0718139a13ced3fb607634fa60fc81212c4 /pyload/remote/thriftbackend/ThriftClient.py | |
parent | Spare code cosmetics (3) (diff) | |
download | pyload-938b7e6141e2895c7d41b0e8ef4b9416912e2e9e.tar.xz |
Spare code cosmetics (4)
Diffstat (limited to 'pyload/remote/thriftbackend/ThriftClient.py')
-rw-r--r-- | pyload/remote/thriftbackend/ThriftClient.py | 4 |
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=""): |