mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-12-16 12:01:48 +01:00
Fixed new pylint warnings.
This commit is contained in:
@@ -338,6 +338,6 @@ class SSH_Socket(ReadBuf, WriteBuf):
|
||||
|
||||
def __cleanup(self) -> None:
|
||||
self._close_socket(self.__sock)
|
||||
for fd in self.__sock_map:
|
||||
self._close_socket(self.__sock_map[fd])
|
||||
for sock in self.__sock_map.values():
|
||||
self._close_socket(sock)
|
||||
self.__sock = None
|
||||
|
||||
Reference in New Issue
Block a user