From fb22f2ff4f75783ba786935c93b75f372ede21f5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:11:21 +1300 Subject: Zap object base class --- netlib/socks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'netlib/socks.py') diff --git a/netlib/socks.py b/netlib/socks.py index 8d7c5279..41fde1cc 100644 --- a/netlib/socks.py +++ b/netlib/socks.py @@ -52,7 +52,7 @@ USERNAME_PASSWORD_VERSION = utils.BiDi( ) -class ClientGreeting(object): +class ClientGreeting(): __slots__ = ("ver", "methods") def __init__(self, ver, methods): @@ -89,7 +89,7 @@ class ClientGreeting(object): f.write(self.methods.tostring()) -class ServerGreeting(object): +class ServerGreeting(): __slots__ = ("ver", "method") def __init__(self, ver, method): @@ -117,7 +117,7 @@ class ServerGreeting(object): f.write(struct.pack("!BB", self.ver, self.method)) -class UsernamePasswordAuth(object): +class UsernamePasswordAuth(): __slots__ = ("ver", "username", "password") def __init__(self, ver, username, password): @@ -147,7 +147,7 @@ class UsernamePasswordAuth(object): f.write(self.password.encode()) -class UsernamePasswordAuthResponse(object): +class UsernamePasswordAuthResponse(): __slots__ = ("ver", "status") def __init__(self, ver, status): @@ -170,7 +170,7 @@ class UsernamePasswordAuthResponse(object): f.write(struct.pack("!BB", self.ver, self.status)) -class Message(object): +class Message(): __slots__ = ("ver", "msg", "atyp", "addr") def __init__(self, ver, msg, atyp, addr): -- cgit v1.2.3