diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-04-04 16:58:11 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-04-04 16:58:31 +0200 |
commit | ab7a2ee55811c1d25dc482f4d5126eb4d7bbe714 (patch) | |
tree | d30271a286304f0a43129499e1f3eab293466907 /scripts/dev/misc_checks.py | |
parent | ade2a9ffdfea175e9f04c5cabc4800af92705634 (diff) | |
download | qutebrowser-ab7a2ee55811c1d25dc482f4d5126eb4d7bbe714.tar.gz qutebrowser-ab7a2ee55811c1d25dc482f4d5126eb4d7bbe714.zip |
Switch to Python 3.7 subprocess API
Follow-up for #6905
Diffstat (limited to 'scripts/dev/misc_checks.py')
-rw-r--r-- | scripts/dev/misc_checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index 05fdb7932..908daad4d 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -50,7 +50,7 @@ def _get_files( filenames = subprocess.run( ['git', 'ls-files', '--cached', '--others', '--exclude-standard', '-z'], stdout=subprocess.PIPE, - universal_newlines=True, + text=True, check=True, ) all_ignored = ignored or [] |