From c9ca81c9fd12b9eec8ecf7c280eb7382e623b060 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 29 Dec 2009 19:00:42 +0100
Subject: [PATCH] confd: add a TODO and a pylint disable

Two variables are used in a strange way in ExecConfd. Until that is
clarified, add a TODO and a silence for the unused variable warning.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
---
 daemons/ganeti-confd | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/daemons/ganeti-confd b/daemons/ganeti-confd
index eb91f8b76..df577f1d3 100755
--- a/daemons/ganeti-confd
+++ b/daemons/ganeti-confd
@@ -344,6 +344,9 @@ def ExecConfd(options, _):
   """Main confd function, executed with PID file held
 
   """
+  # TODO: clarify how the server and reloader variables work (they are
+  # not used)
+  # pylint: disable-msg=W0612
   mainloop = daemon.Mainloop()
 
   # Asyncronous confd UDP server
-- 
GitLab