summaryrefslogtreecommitdiff
path: root/scripts/dev/misc_checks.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-04-04 16:58:11 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-04-04 16:58:31 +0200
commitab7a2ee55811c1d25dc482f4d5126eb4d7bbe714 (patch)
treed30271a286304f0a43129499e1f3eab293466907 /scripts/dev/misc_checks.py
parentade2a9ffdfea175e9f04c5cabc4800af92705634 (diff)
downloadqutebrowser-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.py2
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 []