aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-15 11:34:11 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-01-10 18:36:56 -0500
commit751f84405eb1138b7a9b75bfb51be161a62057e4 (patch)
tree3f7f0ee76eddabc80be6d166406dd14c7bca0258 /mesonbuild/dependencies
parentad525dcce45487def9d3950bed159f1c158e3581 (diff)
downloadmeson-751f84405eb1138b7a9b75bfb51be161a62057e4.zip
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.gz
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.bz2
pyupgrade --py37-plus
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/hdf5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/hdf5.py b/mesonbuild/dependencies/hdf5.py
index 78ef9d6..2f1ed0a 100644
--- a/mesonbuild/dependencies/hdf5.py
+++ b/mesonbuild/dependencies/hdf5.py
@@ -164,7 +164,7 @@ def hdf5_factory(env: 'Environment', for_machine: 'MachineChoice',
if PCEXE:
# some distros put hdf5-1.2.3.pc with version number in .pc filename.
ret = subprocess.run([PCEXE, '--list-all'], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
- universal_newlines=True)
+ text=True)
if ret.returncode == 0:
for pkg in ret.stdout.split('\n'):
if pkg.startswith('hdf5'):