From 9a0b7b9e65a876eb09b37423a897de1950837b27 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Wed, 14 May 2014 23:20:43 +0200 Subject: [PATCH] [TASK] Remove unused watch masks. --- twisted/plugins/monitorbot_plugin.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/twisted/plugins/monitorbot_plugin.py b/twisted/plugins/monitorbot_plugin.py index 5b235a1..23d4f97 100644 --- a/twisted/plugins/monitorbot_plugin.py +++ b/twisted/plugins/monitorbot_plugin.py @@ -64,15 +64,11 @@ class MonitorBotService(Service): self._bot.msg(self._channel, msg) pass - - watchMask = ( inotify.IN_MODIFY | inotify.IN_CREATE | inotify.IN_DELETE - | inotify.IN_DELETE_SELF | inotify.IN_MOVED_FROM - | inotify.IN_MOVED_TO - | inotify.IN_MOVE_SELF ) + | inotify.IN_MOVED_TO ) notifier = inotify.INotify() notifier.startReading()