From 4bf4d4ddb517a1980c72f2c2def3483d3cebe7d7 Mon Sep 17 00:00:00 2001 From: Lee Clemens Date: Fri, 30 Dec 2011 00:37:15 -0500 Subject: [PATCH] Removed wd assignment and irrelevant comment --- server/filterpyinotify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/filterpyinotify.py b/server/filterpyinotify.py index 9b7a6f09..12317687 100644 --- a/server/filterpyinotify.py +++ b/server/filterpyinotify.py @@ -78,7 +78,7 @@ class FilterPyinotify(FileFilter): if self.containsLogPath(path): logSys.error(path + " already exists") else: - wd = self.monitor.add_watch(path, pyinotify.IN_MODIFY) + self.monitor.add_watch(path, pyinotify.IN_MODIFY) FileFilter.addLogPath(self, path, tail) logSys.info("Added logfile = %s" % path) @@ -109,7 +109,6 @@ class FilterPyinotify(FileFilter): while self._isActive(): if not self.getIdle(): self.notifier.process_events() - # Convert sleep seconds to millis if self.notifier.check_events(): self.notifier.read_events() else: