Linux: update sockscan family check to use 'is None' rather than '== None' as per CodeQL

This commit is contained in:
Eve
2024-03-28 08:55:07 +00:00
parent 4f1f480876
commit 2c8b757ef0
@@ -257,7 +257,7 @@ class Sockscan(plugins.PluginInterface):
family = psock.get_family()
# remove results with no family
if family == None:
if family is None:
vollog.log(
constants.LOGLEVEL_VVVV,
f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.",