[elbe-devel] [PATCH 4/5] updated_monitors: disable no-membmer
Torben Hohn
torben.hohn at linutronix.de
Wed Sep 8 17:01:37 CEST 2021
pylint does not seem to be able to see the members.
Disable the complaint.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/updated_monitors.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/elbepack/updated_monitors.py b/elbepack/updated_monitors.py
index 40f658627..e6922ae62 100644
--- a/elbepack/updated_monitors.py
+++ b/elbepack/updated_monitors.py
@@ -118,6 +118,8 @@ class FileMonitor (UpdateMonitor):
super(FileMonitor, self).__init__(status)
self.wm = pyinotify.WatchManager()
self.notifier = pyinotify.Notifier(self.wm)
+
+ # pylint: disable=no-member
self.wm.add_watch(update_dir, pyinotify.IN_CLOSE_WRITE,
proc_fun=FileMonitor.EventHandler(self.status))
self.observer = FileMonitor.ObserverThread(self.status, self)
--
2.20.1
More information about the elbe-devel
mailing list