From: Daira Hopwood Date: Tue, 3 Nov 2015 15:29:24 +0000 (+0000) Subject: Fix miscapture bug. X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/reedownlee?a=commitdiff_plain;h=e6d08efdeac0c18ac578f0e671c98977c01b979a;p=tahoe-lafs%2Ftahoe-lafs.git Fix miscapture bug. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index cc7e534d..745b5558 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -262,7 +262,7 @@ class INotify(PollMixin): path = self._path.preauthChild(info.filename) # FilePath with Unicode path mask = _action_to_inotify_mask.get(info.action, IN_CHANGED) - def _notify(path): + def _notify(path, mask=mask): for cb in self._callbacks: try: cb(None, path, mask)