]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/windows/inotify.py
Disable precondition that autoAdd == recursive.
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / windows / inotify.py
index c5099ca4804f878c1919143be4b50696c9b9e04c..29bf176e27cccce2a5bfdef67a9e5ded39d238b1 100644 (file)
@@ -221,7 +221,7 @@ class INotify(PollMixin):
         precondition(self._filter is None, "only one watch is supported")
         precondition(isinstance(autoAdd, bool), autoAdd=autoAdd)
         precondition(isinstance(recursive, bool), recursive=recursive)
-        precondition(autoAdd == recursive, "need autoAdd and recursive to be the same", autoAdd=autoAdd, recursive=recursive)
+        #precondition(autoAdd == recursive, "need autoAdd and recursive to be the same", autoAdd=autoAdd, recursive=recursive)
 
         self._path = path
         path_u = path.path