mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-06 06:01:48 +00:00
Correct spelling is os.utime not utimes
This commit is contained in:
parent
f113db62ac
commit
354280c26e
@ -561,7 +561,7 @@ class Downloader(QueueMixin):
|
||||
now = time.time()
|
||||
|
||||
fileutil.write(replacement_path, file_contents)
|
||||
os.utimes(replacement_path, (now, now - cls.FUDGE_SECONDS))
|
||||
os.utime(replacement_path, (now, now - cls.FUDGE_SECONDS))
|
||||
if is_conflict:
|
||||
cls._rename_conflicted_file(path, replacement_path)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user