From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 27 Oct 2015 20:35:41 +0000 (+0000)
Subject: Fix a type error.
X-Git-Url: https://git.rkrishnan.org/specifications/components?a=commitdiff_plain;h=fb3b6bc31b08e542eee1bc184b86747d834bf09a;p=tahoe-lafs%2Ftahoe-lafs.git

Fix a type error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py
index baea0af6..c00ccac6 100644
--- a/src/allmydata/test/test_magic_folder.py
+++ b/src/allmydata/test/test_magic_folder.py
@@ -963,7 +963,7 @@ class RealTest(MagicFolderTestMixin, unittest.TestCase):
         # Writing to the filesystem causes the notification.
         # However, flushing filesystem buffers may be necessary on Windows.
         if flush:
-            fileutil.flush_volume(path)
+            fileutil.flush_volume(path.path)
 
 try:
     magic_folder.get_inotify_module()