[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -158,7 +158,9 @@ def setup_setuptools_cross_compile(
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Move the existing file and restore it when we exit
|
# Move the existing file and restore it when we exit
|
||||||
log.notice(f"Preserving {distutils_cfg} as {distutils_bak.name}. It will be restored afterwards.")
|
log.notice(
|
||||||
|
f"Preserving {distutils_cfg} as {distutils_bak.name}. It will be restored afterwards."
|
||||||
|
)
|
||||||
try:
|
try:
|
||||||
distutils_cfg.replace(distutils_bak)
|
distutils_cfg.replace(distutils_bak)
|
||||||
except OSError as exc:
|
except OSError as exc:
|
||||||
|
|||||||
Reference in New Issue
Block a user