From: Daira Hopwood Date: Mon, 18 May 2015 15:53:26 +0000 (+0100) Subject: typo X-Git-Url: https://git.rkrishnan.org/-?a=commitdiff_plain;h=414e65729e7f09c03d44d8a10115bc04d793281a;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)