diff options
| author | jvoisin | 2023-01-31 20:42:39 +0100 |
|---|---|---|
| committer | jvoisin | 2023-01-31 20:42:39 +0100 |
| commit | e41390eb64eaf72fd1b9914221eaf22801812521 (patch) | |
| tree | 42cc3ce662d18987ce47ea248f73bb261a35d4a2 /libmat2/bubblewrap.py | |
| parent | 66a36f6b15b0a9fdc792aabe3d0956b3fc680464 (diff) | |
Explicitly pass a parameter to functools.lru_cache
Diffstat (limited to 'libmat2/bubblewrap.py')
| -rw-r--r-- | libmat2/bubblewrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py index ab6867e..961b76e 100644 --- a/libmat2/bubblewrap.py +++ b/libmat2/bubblewrap.py | |||
| @@ -22,7 +22,7 @@ CalledProcessError = subprocess.CalledProcessError | |||
| 22 | # pylint: disable=subprocess-run-check | 22 | # pylint: disable=subprocess-run-check |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | @functools.lru_cache | 25 | @functools.lru_cache(maxsize=None) |
| 26 | def _get_bwrap_path() -> str: | 26 | def _get_bwrap_path() -> str: |
| 27 | which_path = shutil.which('bwrap') | 27 | which_path = shutil.which('bwrap') |
| 28 | if which_path: | 28 | if which_path: |
