From c124045f5078c2927ac65a8ec58efc273bdd0047 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Thu, 24 Sep 2009 16:50:29 +0200 Subject: [PATCH] Add missing import sys to lib/daemon.py MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It does “print >> sys.stderr, …” but there is no import sys. Signed-off-by: Iustin Pop Reviewed-by: Michael Hanselmann Reviewed-by: Guido Trotter --- lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.py b/lib/daemon.py index ac250cd..d357349 100644 --- a/lib/daemon.py +++ b/lib/daemon.py @@ -31,6 +31,7 @@ import logging import sched import time import socket +import sys from ganeti import utils from ganeti import constants @@ -310,4 +311,3 @@ def GenericMain(daemon_name, optionparser, dirs, check_fn, exec_fn): exec_fn(options, args) finally: utils.RemovePidFile(daemon_name) - -- 1.7.10.4