Revision 7260cfbe daemons/ganeti-confd
b/daemons/ganeti-confd | ||
---|---|---|
26 | 26 |
|
27 | 27 |
""" |
28 | 28 |
|
29 |
# pylint: disable-msg=C0103 |
|
30 |
# C0103: Invalid name ganeti-confd |
|
31 |
|
|
29 | 32 |
import os |
30 | 33 |
import sys |
31 | 34 |
import logging |
32 | 35 |
import time |
33 | 36 |
|
34 | 37 |
try: |
38 |
# pylint: disable-msg=E0611 |
|
35 | 39 |
from pyinotify import pyinotify |
36 | 40 |
except ImportError: |
37 | 41 |
import pyinotify |
... | ... | |
102 | 106 |
# no need to call the parent's constructor |
103 | 107 |
self.watch_manager = watch_manager |
104 | 108 |
self.callback = callback |
109 |
# pylint: disable-msg=E1103 |
|
110 |
# pylint for some reason doesn't see the below constants |
|
105 | 111 |
self.mask = pyinotify.EventsCodes.IN_IGNORED | \ |
106 | 112 |
pyinotify.EventsCodes.IN_MODIFY |
107 | 113 |
self.file = filename |
Also available in: Unified diff