commit 6d990a29b8697dea8aab41a47035f1bcb0fbda59
parent 6908c6dc6cf97adcce9a4f539065d0f100dc6225
Author: Sandor Molnar <smolnar@mozilla.com>
Date: Mon, 8 Dec 2025 18:04:05 +0200
Revert "Bug 2002884 - Cache calls to manifestparser.manifestparser.filters._match r=jcristau" for causing lint failures
This reverts commit c646ce9552ff23627731c3d904c512f5296ce4c2.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/testing/mozbase/manifestparser/manifestparser/filters.py b/testing/mozbase/manifestparser/manifestparser/filters.py
@@ -8,7 +8,6 @@ dictionary of values, and returns a new iterable of test objects. It is
possible to define custom filters if the built-in ones are not enough.
"""
-import functools
import itertools
import os
from collections import defaultdict
@@ -21,7 +20,6 @@ from .util import normsep
# built-in filters
-@functools.lru_cache(maxsize=None)
def _match(exprs, strict, **values):
"""Return the first matching expression, or None if no match."""
for e in exprs.splitlines():