Don't inheric from 'object' (after deprecating Python 2.x support)

This commit is contained in:
Roman Zeyde
2018-07-25 13:44:55 +03:00
parent 03e7fc48e9
commit eed168341c
13 changed files with 16 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ def unix_domain_socket_server(sock_path):
remove_file(sock_path)
class FDServer(object):
class FDServer:
"""File-descriptor based server (for NeoPG)."""
def __init__(self, fd):