Fix formatting lint issues

This commit is contained in:
Lee Miller 2023-08-14 05:53:20 +03:00
parent 4f1e14da2a
commit e249e501cc
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class Connection(threading.Thread):
self.vectors_to_get = set()
self.vectors_to_send = set()
self.vectors_requested = dict()
self.vectors_requested = {}
self.status = 'ready'

View File

@ -197,7 +197,7 @@ def start_ip_listener():
'Error while starting IPv4 listener on port %s.'
' However the IPv6 one seems to be working'
' and will probably accept IPv4 connections.', # 48 on macos
shared.listening_port, exc_info=(e.errno not in (48, 98)))
shared.listening_port, exc_info=e.errno not in (48, 98))
else:
logging.warning(
'Error while starting IPv4 listener on port %s.'