Skip to content
Prev Previous commit
Update Lib/importlib/_bootstrap_external.py
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
jstasiak and AA-Turner authored Jan 17, 2024
commit 77314a956788a51558034e7c1316a457a6ed57e2
2 changes: 1 addition & 1 deletion Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ def _exclude_directory_from_backups(directory):
with _io.FileIO(_path_join(directory, 'CACHEDIR.TAG'), 'x') as f:
Comment thread
merwok marked this conversation as resolved.
f.write(b"""Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by CPython.
# For information about cache directory tags see https://bford.info/cachedir/
# For information about cache directory tags, see: https://bford.info/cachedir/
""")
except (FileExistsError, PermissionError):
pass
Expand Down