Skip to content

Commit

Permalink
TOOLS/osxbundle: fix inplace argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jan 4, 2025
1 parent f2a4cc3 commit 90f5164
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 90f5164

Please sign in to comment.