Skip to content

Commit 4676733

Browse files
committed
tools: hub-clone: drop legacy utime
1 parent 6cbacc1 commit 4676733

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/hub-clone.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ def local_sync_repositories(self, repositories):
5454
if repo['updated'] > int(dirstat.st_mtime):
5555
updated.append(repo)
5656

57-
else:
58-
# FIXME: force update for legacy purpose
59-
os.utime(userpath, (int(time.time()), repo['updated']))
60-
6157
print(f"[+] {len(updated)} / {len(repositories)} local repositories to update")
6258

6359
return updated

0 commit comments

Comments
 (0)