Skip to content

Commit

Permalink
Merge pull request #229 from roblabla/python34-createdevenv
Browse files Browse the repository at this point in the history
Fix python 3.4 compat in create_devenv
  • Loading branch information
roblabla committed Sep 2, 2024
2 parents 1c1a2d5 + c73d674 commit 4d1df08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create_devenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def msiextract(msi_file_path: Path, output_dir: Path) -> int:

for entry in dir.glob("*"):
new_entry = parent_dir / entry.name
print(f"Renaming {entry} -> {new_entry}")
print("Renaming " + str(entry) + " -> " + str(new_entry))
if not new_entry.exists():
shutil.move(str(entry), str(new_entry))
else:
Expand All @@ -92,7 +92,7 @@ def msiextract(msi_file_path: Path, output_dir: Path) -> int:
new_entry = entry.parent / new_name

if entry != new_entry:
print(f"Renaming {entry} -> {new_entry}")
print("Renaming " + str(entry) + " -> " + str(new_entry))
if not new_entry.exists():
shutil.move(str(entry), str(new_entry))
renamed_something = True
Expand Down

0 comments on commit 4d1df08

Please sign in to comment.