Revision b459a848 lib/server/confd.py
b/lib/server/confd.py | ||
---|---|---|
26 | 26 |
|
27 | 27 |
""" |
28 | 28 |
|
29 |
# pylint: disable-msg=C0103
|
|
29 |
# pylint: disable=C0103 |
|
30 | 30 |
# C0103: Invalid name ganeti-confd |
31 | 31 |
|
32 | 32 |
import os |
... | ... | |
35 | 35 |
import time |
36 | 36 |
|
37 | 37 |
try: |
38 |
# pylint: disable-msg=E0611
|
|
38 |
# pylint: disable=E0611 |
|
39 | 39 |
from pyinotify import pyinotify |
40 | 40 |
except ImportError: |
41 | 41 |
import pyinotify |
... | ... | |
265 | 265 |
# TODO: clarify how the server and reloader variables work (they are |
266 | 266 |
# not used) |
267 | 267 |
|
268 |
# pylint: disable-msg=W0612
|
|
268 |
# pylint: disable=W0612 |
|
269 | 269 |
mainloop = daemon.Mainloop() |
270 | 270 |
|
271 | 271 |
# Asyncronous confd UDP server |
... | ... | |
285 | 285 |
return mainloop |
286 | 286 |
|
287 | 287 |
|
288 |
def ExecConfd(options, args, prep_data): # pylint: disable-msg=W0613
|
|
288 |
def ExecConfd(options, args, prep_data): # pylint: disable=W0613 |
|
289 | 289 |
"""Main confd function, executed with PID file held |
290 | 290 |
|
291 | 291 |
""" |
Also available in: Unified diff