]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
autoAdd is no longer used.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 6 May 2015 14:22:04 +0000 (15:22 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 18 May 2015 01:03:11 +0000 (02:03 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/windows/inotify.py

index 4255b6fd842b88bd0bb98bc104cc6dcfb733295a..3a0f7ba60ec9ca8f021d8864e47076eb562d5744 100644 (file)
@@ -299,7 +299,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(not autoAdd, "autoAdd not supported")
 
         self._path = path
         path_u = path.path