]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
typo
authorDaira Hopwood <daira@jacaranda.org>
Mon, 18 May 2015 15:53:26 +0000 (16:53 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 29 May 2015 20:42:58 +0000 (21:42 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/windows/inotify.py

index ddb2581824fc1c460e8d595fa2335621e0d3540a..05fb983ef16635b309e71eb26dac033d355bd079 100644 (file)
@@ -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)