Skip to content

Commit

Permalink
TOOLS/osxbundle.py: fix inplace argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jan 3, 2025
1 parent 77bf839 commit 25da1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TOOLS/osxbundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 25da1ad

Please sign in to comment.