"""
-# pylint: disable-msg=C0103
+# pylint: disable=C0103
# C0103: Invalid name ganeti-confd
import os
import time
try:
- # pylint: disable-msg=E0611
+ # pylint: disable=E0611
from pyinotify import pyinotify
except ImportError:
import pyinotify
logging.debug(err)
return
- answer = self.processor.ExecQuery(query, ip, port)
+ answer = self.processor.ExecQuery(query, ip, port)
if answer is not None:
try:
self.enqueue_send(ip, port, confd.PackMagic(answer))
# TODO: clarify how the server and reloader variables work (they are
# not used)
- # pylint: disable-msg=W0612
+ # pylint: disable=W0612
mainloop = daemon.Mainloop()
# Asyncronous confd UDP server
return mainloop
-def ExecConfd(options, args, prep_data): # pylint: disable-msg=W0613
+def ExecConfd(options, args, prep_data): # pylint: disable=W0613
"""Main confd function, executed with PID file held
"""