From 4676733de0d7c585fc174402693b54823ab49d04 Mon Sep 17 00:00:00 2001 From: Maxime Daniel Date: Fri, 18 Oct 2024 02:09:48 +0200 Subject: [PATCH] tools: hub-clone: drop legacy utime --- tools/hub-clone.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/hub-clone.py b/tools/hub-clone.py index f1d3615..358d1bb 100644 --- a/tools/hub-clone.py +++ b/tools/hub-clone.py @@ -54,10 +54,6 @@ def local_sync_repositories(self, repositories): if repo['updated'] > int(dirstat.st_mtime): updated.append(repo) - else: - # FIXME: force update for legacy purpose - os.utime(userpath, (int(time.time()), repo['updated'])) - print(f"[+] {len(updated)} / {len(repositories)} local repositories to update") return updated