From 16f0cd5a4c6160cf4fa44094e5f8e9a8f4072090 Mon Sep 17 00:00:00 2001
From: David Stainton <dstainton415@gmail.com>
Date: Wed, 26 Aug 2015 14:40:08 +0200
Subject: [PATCH] Correct spelling is os.utime not utimes

---
 src/allmydata/frontends/magic_folder.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py
index 4131c501..cf8eaa68 100644
--- a/src/allmydata/frontends/magic_folder.py
+++ b/src/allmydata/frontends/magic_folder.py
@@ -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:
@@ -573,4 +573,4 @@ class Downloader(QueueMixin):
     @classmethod
     def _rename_conflicted_file(self, path, replacement_path):
         conflict_path = path + u".conflict"
-        fileutil.rename_no_overwrite(replacement_path, conflict_path)
\ No newline at end of file
+        fileutil.rename_no_overwrite(replacement_path, conflict_path)
-- 
2.45.2