]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Disable precondition that autoAdd == recursive.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 27 Oct 2015 20:36:04 +0000 (20:36 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 15:30:06 +0000 (15:30 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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