Module: check_mk
Branch: master
Commit: f4483e3719c07a60e97624a8ed52cac882b365af
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f4483e3719c07a…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Mar 14 16:15:34 2018 +0100
fixed pylint errors
Change-Id: If552fbecd6f3e7cbbaefb59d5804fd9b6e6e557b
---
agents/plugins/mk_inotify | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/agents/plugins/mk_inotify b/agents/plugins/mk_inotify
index 9c43788..bdd4408 100755
--- a/agents/plugins/mk_inotify
+++ b/agents/plugins/mk_inotify
@@ -218,14 +218,14 @@ def do_output(what, event):
map_events = {
# Mode Mask Report_filestats (currently unused)
- "access" : (pyinotify.IN_ACCESS, False),
- "open" : (pyinotify.IN_OPEN, False),
- "create" : (pyinotify.IN_CREATE, False),
- "delete" : (pyinotify.IN_DELETE, False),
- "modify" : (pyinotify.IN_MODIFY, False),
- "movedto" : (pyinotify.IN_MOVED_TO, False),
- "movedfrom": (pyinotify.IN_MOVED_FROM, False),
- "moveself" : (pyinotify.IN_MOVE_SELF, False),
+ "access" : (pyinotify.IN_ACCESS, False), # pylint: disable=no-member
+ "open" : (pyinotify.IN_OPEN, False), # pylint: disable=no-member
+ "create" : (pyinotify.IN_CREATE, False), # pylint: disable=no-member
+ "delete" : (pyinotify.IN_DELETE, False), # pylint: disable=no-member
+ "modify" : (pyinotify.IN_MODIFY, False), # pylint: disable=no-member
+ "movedto" : (pyinotify.IN_MOVED_TO, False), # pylint: disable=no-member
+ "movedfrom": (pyinotify.IN_MOVED_FROM, False), # pylint: disable=no-member
+ "moveself" : (pyinotify.IN_MOVE_SELF, False), # pylint: disable=no-member
}
class NotifyEventHandler(pyinotify.ProcessEvent):