From: Daira Hopwood Date: Wed, 6 May 2015 14:22:04 +0000 (+0100) Subject: autoAdd is no longer used. X-Git-Url: https://git.rkrishnan.org/(%5B%5E?a=commitdiff_plain;h=ed3b1c6fb79deb3c0057dcd9e365d67dd16a6d45;p=tahoe-lafs%2Ftahoe-lafs.git autoAdd is no longer used. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index 4255b6fd..3a0f7ba6 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -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