From 3e9586f0a9708afca40ab50a2987fc0090256e2f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 27 May 2025 00:20:56 +0200 Subject: webmap-download: Drop obsolete comment. We don't want to bump ctimes since they are used in the layer cache. --- webmap-download | 3 --- 1 file changed, 3 deletions(-) diff --git a/webmap-download b/webmap-download index fcbbd16..2c475fe 100755 --- a/webmap-download +++ b/webmap-download @@ -101,9 +101,6 @@ def download(dest : str, start = time_monotonic() r = download_trystream(url, headers=headers, session=session, timeout=30) if r.status_code == 304: - # XXX shouldn't we call os.utime(dest) to bump its ctime here? - # otherwise we'll make several queries and get multiple 304 - # replies if the file is used by multiple layers logging.info('%s: %d Not Modified', dest, r.status_code) return -- cgit v1.2.3