From c124045f5078c2927ac65a8ec58efc273bdd0047 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> 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=UTF-8 Content-Transfer-Encoding: 8bit It does βprint >> sys.stderr, β¦β but there is no import sys. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.py b/lib/daemon.py index ac250cd1d..d357349a3 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) - -- GitLab