gregghz / Watcher

Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file instead of a plain text file. It's also written in Python, making it easier to hack.
MIT License
245 stars 128 forks source link

bug on line 341 missing pyinotify for constant IN_CLOSE_NOWRITE #3

Closed ghost closed 12 years ago

ghost commented 12 years ago

340 elif 'close' == mask: 341 ret = self._addMask(pyinotify.IN_CLOSE_WRITE | IN_CLOSE_NOWRITE, ret)

should be

340 elif 'close' == mask: 341 ret = self._addMask(pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CLOSE_NOWRITE, ret)

gregghz commented 12 years ago

Thanks! I just committed a fix.