mirror of
https://github.com/pyenv/pyenv.git
synced 2026-02-28 04:37:48 +09:00
add_cpython: fix erroneously deleting old thunks
Looks like a leftover from older logic, before we `git mv`'d thunks on prerelease upgrade
This commit is contained in:
parent
47b6fce29d
commit
06bac52676
@ -175,9 +175,6 @@ def handle_t_thunks(version, previous_version, is_prerelease_upgrade):
|
|||||||
"mv",
|
"mv",
|
||||||
previous_thunk_name,
|
previous_thunk_name,
|
||||||
thunk_name))
|
thunk_name))
|
||||||
else:
|
|
||||||
logger.info(f"Deleting {previous_thunk_path}")
|
|
||||||
previous_thunk_path.unlink()
|
|
||||||
|
|
||||||
logger.info(f"Writing {thunk_path}")
|
logger.info(f"Writing {thunk_path}")
|
||||||
thunk_path.write_text(T_THUNK, encoding='utf-8')
|
thunk_path.write_text(T_THUNK, encoding='utf-8')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user