From: Daira Hopwood Date: Mon, 18 May 2015 15:53:26 +0000 (+0100) Subject: typo X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/?a=commitdiff_plain;h=1b2ee693728fae98b5b983364dc5611d0022ad8f;p=tahoe-lafs%2Ftahoe-lafs.git typo Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index ddb25818..05fb983e 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -351,7 +351,7 @@ class INotify(PollMixin): return self.poll(_try_to_stop) def watch(self, path, mask=IN_WATCH_MASK, autoAdd=False, callbacks=None, recursive=False): - precondition(not self._started_reading, "watch() can only be called before startReading()") + precondition(not self._called_startReading, "watch() can only be called before startReading()") precondition(self._notifier is None, "only one watch is supported") precondition(isinstance(autoAdd, bool), autoAdd=autoAdd) precondition(isinstance(recursive, bool), recursive=recursive)