Skip to content

Commit

Permalink
tools: hub-clone: drop legacy utime
Browse files Browse the repository at this point in the history
  • Loading branch information
maxux committed Oct 18, 2024
1 parent 6cbacc1 commit 4676733
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/hub-clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4676733

Please sign in to comment.