From 004a80bfaad38f9400e8aebcb8f980353a232295 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 1 Dec 2014 23:53:07 +0100 Subject: PEP-8, Python Zen, refactor and reduce code (thx FedeG) --- pyload/remote/thriftbackend/ThriftClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/remote/thriftbackend/ThriftClient.py') diff --git a/pyload/remote/thriftbackend/ThriftClient.py b/pyload/remote/thriftbackend/ThriftClient.py index 913719ed9..d7b0d2919 100644 --- a/pyload/remote/thriftbackend/ThriftClient.py +++ b/pyload/remote/thriftbackend/ThriftClient.py @@ -31,7 +31,7 @@ class NoConnection(Exception): class NoSSL(Exception): pass -class ThriftClient: +class ThriftClient(object): def __init__(self, host="localhost", port=7227, user="", password=""): self.createConnection(host, port) -- cgit v1.2.3