Remove comment and handling of an empty pid_list

These mypy issues are now closed.
This commit is contained in:
j-t-1
2025-03-09 08:55:15 +00:00
committed by GitHub
parent 78794aaad8
commit 5b088561db
@@ -85,8 +85,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface):
Returns:
Function which, when provided a process object, returns True if the process is to be filtered out of the list
"""
# FIXME: mypy #4973 or #2608
pid_list = pid_list or []
filter_list = [x for x in pid_list if x is not None]
if filter_list: