diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/bubblewrap.py | 2 | ||||
| -rw-r--r-- | libmat2/exiftool.py | 2 | ||||
| -rw-r--r-- | libmat2/video.py | 2 |
3 files changed, 3 insertions, 3 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: |
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py index 5979a64..2b91ac2 100644 --- a/libmat2/exiftool.py +++ b/libmat2/exiftool.py | |||
| @@ -67,7 +67,7 @@ class ExiftoolParser(abstract.AbstractParser): | |||
| 67 | return False | 67 | return False |
| 68 | return True | 68 | return True |
| 69 | 69 | ||
| 70 | @functools.lru_cache | 70 | @functools.lru_cache(maxsize=None) |
| 71 | def _get_exiftool_path() -> str: # pragma: no cover | 71 | def _get_exiftool_path() -> str: # pragma: no cover |
| 72 | which_path = shutil.which('exiftool') | 72 | which_path = shutil.which('exiftool') |
| 73 | if which_path: | 73 | if which_path: |
diff --git a/libmat2/video.py b/libmat2/video.py index 772a89e..39059c5 100644 --- a/libmat2/video.py +++ b/libmat2/video.py | |||
| @@ -135,7 +135,7 @@ class MP4Parser(AbstractFFmpegParser): | |||
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | 137 | ||
| 138 | @functools.lru_cache() | 138 | @functools.lru_cache(maxsize=None) |
| 139 | def _get_ffmpeg_path() -> str: # pragma: no cover | 139 | def _get_ffmpeg_path() -> str: # pragma: no cover |
| 140 | which_path = shutil.which('ffmpeg') | 140 | which_path = shutil.which('ffmpeg') |
| 141 | if which_path: | 141 | if which_path: |
