Revision 675bf1b7 daemons/ganeti-confd
b/daemons/ganeti-confd | ||
---|---|---|
106 | 106 |
# no need to call the parent's constructor |
107 | 107 |
self.watch_manager = watch_manager |
108 | 108 |
self.callback = callback |
109 |
# pylint: disable-msg=E1103 |
|
110 |
# pylint for some reason doesn't see the below constants |
|
111 |
self.mask = pyinotify.EventsCodes.IN_IGNORED | \ |
|
112 |
pyinotify.EventsCodes.IN_MODIFY |
|
109 |
self.mask = pyinotify.EventsCodes.ALL_FLAGS["IN_IGNORED"] | \ |
|
110 |
pyinotify.EventsCodes.ALL_FLAGS["IN_MODIFY"] |
|
113 | 111 |
self.file = filename |
114 | 112 |
self.watch_handle = None |
115 | 113 |
|
Also available in: Unified diff