Parcourir la source
add_cpython: fix erroneously deleting old thunks
Looks like a leftover from older logic, before
we `git mv`'d thunks on prerelease upgrade
pull/3406/head
Ivan Pozdeev
il y a 4 mois
Parent
révision
06bac52676
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: FB6A628DCF06DCD7
1 fichiers modifiés avec
0 ajouts et
3 suppressions
-
plugins/python-build/scripts/add_cpython.py
|
|
|
@ -175,9 +175,6 @@ def handle_t_thunks(version, previous_version, is_prerelease_upgrade): |
|
|
|
"mv", |
|
|
|
previous_thunk_name, |
|
|
|
thunk_name)) |
|
|
|
else: |
|
|
|
logger.info(f"Deleting {previous_thunk_path}") |
|
|
|
previous_thunk_path.unlink() |
|
|
|
|
|
|
|
logger.info(f"Writing {thunk_path}") |
|
|
|
thunk_path.write_text(T_THUNK, encoding='utf-8') |
|
|
|
|