def filter(self, table, roles, filter_string):
        q = filter_string.lower()
        return [role for role in roles
                if q in role.name.lower()]
Delete a directory if it's present. If it's not present, no-op.
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/dashboards/admin/roles/tables.py/RoleFilterAction.filter--crossover with--dataset/ETHPy150Open pantsbuild/pex/pex/common.py/safe_rmtree