From 414e65729e7f09c03d44d8a10115bc04d793281a Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 18 May 2015 16:53:26 +0100 Subject: [PATCH] typo Signed-off-by: Daira Hopwood --- src/allmydata/windows/inotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2