[TASK] Remove unused watch masks.

This commit is contained in:
Jan Philipp Timme 2014-05-14 23:20:43 +02:00
parent 9a26c3f8cb
commit 9a0b7b9e65
1 changed files with 1 additions and 5 deletions

View File

@ -64,15 +64,11 @@ class MonitorBotService(Service):
self._bot.msg(self._channel, msg) self._bot.msg(self._channel, msg)
pass pass
watchMask = ( inotify.IN_MODIFY watchMask = ( inotify.IN_MODIFY
| inotify.IN_CREATE | inotify.IN_CREATE
| inotify.IN_DELETE | inotify.IN_DELETE
| inotify.IN_DELETE_SELF
| inotify.IN_MOVED_FROM | inotify.IN_MOVED_FROM
| inotify.IN_MOVED_TO | inotify.IN_MOVED_TO )
| inotify.IN_MOVE_SELF )
notifier = inotify.INotify() notifier = inotify.INotify()
notifier.startReading() notifier.startReading()