X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/07b8a2b5215a01a948be2f00109d79e67fd5a150..2492231f7381ce33f2164322f799c84b2d7cceef:/lib/confd/querylib.py diff --git a/lib/confd/querylib.py b/lib/confd/querylib.py index 6a13a2b..e1e323f 100644 --- a/lib/confd/querylib.py +++ b/lib/confd/querylib.py @@ -50,7 +50,7 @@ class ConfdQuery(object): """ self.reader = reader - def Exec(self, query): + def Exec(self, query): # pylint: disable-msg=R0201,W0613 """Process a single UDP request from a client. Different queries should override this function, which by defaults returns @@ -187,7 +187,6 @@ class InstanceIpToNodePrimaryIpQuery(ConfdQuery): instances_list = query[constants.CONFD_REQQ_IPLIST] mode = constants.CONFD_REQQ_IPLIST else: - status = constants.CONFD_REPL_STATUS_ERROR logging.debug("missing IP or IPLIST in query dict") return QUERY_ARGUMENT_ERROR