Compat with older python

This commit is contained in:
Sam McCall 2020-05-08 00:01:38 +02:00 committed by GitHub
parent 61703d6bba
commit 55b106258d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ def accept_symbol(sym):
nm = subprocess.run(
["nm", "-uD", "--with-symbol-version", args.binary],
stdout=subprocess.PIPE,
text=True,
universal_newlines=True,
)
nm.check_returncode()
status = 0