From e8fa2a7aaaaf7608c06f0d88492acd8283d37386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 3 Jan 2025 21:26:23 +0100 Subject: [PATCH] TOOLS/osxbundle: fix inplace argument type --- TOOLS/osxbundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOOLS/osxbundle.py b/TOOLS/osxbundle.py index bf144fe012..8f58a0cc47 100755 --- a/TOOLS/osxbundle.py +++ b/TOOLS/osxbundle.py @@ -35,7 +35,7 @@ def copy_binary(binary_name): shutil.copy(binary_name, target_binary(binary_name)) def apply_plist_template(plist_file, version): - for line in fileinput.input(plist_file, inplace=1): + for line in fileinput.input(plist_file, inplace=True): print(line.rstrip().replace("${VERSION}", version)) def sign_bundle(binary_name):