We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00488b commit 1506a1dCopy full SHA for 1506a1d
pub-mirror.py
@@ -87,6 +87,7 @@ def download_pkg_ver(
87
logger.error(f"Failed to download {url} to {dst_file.as_posix()}: {e}")
88
return False
89
else:
90
+ os.utime(dst_file, (time.timestamp(), time.timestamp())) # update access and modified time
91
logger.info(f"File {dst_file.as_posix()} already exists, skipping download")
92
return True
93
0 commit comments