diff options
Diffstat (limited to 'libmat2/bubblewrap.py')
| -rw-r--r-- | libmat2/bubblewrap.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py index 1bb0f82..0e202b9 100644 --- a/libmat2/bubblewrap.py +++ b/libmat2/bubblewrap.py | |||
| @@ -12,7 +12,7 @@ import shutil | |||
| 12 | import subprocess | 12 | import subprocess |
| 13 | import tempfile | 13 | import tempfile |
| 14 | import functools | 14 | import functools |
| 15 | from typing import List, Optional | 15 | from typing import Optional |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | __all__ = ['PIPE', 'run', 'CalledProcessError'] | 18 | __all__ = ['PIPE', 'run', 'CalledProcessError'] |
| @@ -33,7 +33,7 @@ def _get_bwrap_path() -> str: | |||
| 33 | 33 | ||
| 34 | def _get_bwrap_args(tempdir: str, | 34 | def _get_bwrap_args(tempdir: str, |
| 35 | input_filename: str, | 35 | input_filename: str, |
| 36 | output_filename: Optional[str] = None) -> List[str]: | 36 | output_filename: Optional[str] = None) -> list[str]: |
| 37 | ro_bind_args = [] | 37 | ro_bind_args = [] |
| 38 | cwd = os.getcwd() | 38 | cwd = os.getcwd() |
| 39 | 39 | ||
| @@ -78,7 +78,7 @@ def _get_bwrap_args(tempdir: str, | |||
| 78 | return args | 78 | return args |
| 79 | 79 | ||
| 80 | 80 | ||
| 81 | def run(args: List[str], | 81 | def run(args: list[str], |
| 82 | input_filename: str, | 82 | input_filename: str, |
| 83 | output_filename: Optional[str] = None, | 83 | output_filename: Optional[str] = None, |
| 84 | **kwargs) -> subprocess.CompletedProcess: | 84 | **kwargs) -> subprocess.CompletedProcess: |
