Commit c124045f authored by Iustin Pop's avatar Iustin Pop

Add missing import sys to lib/daemon.py

It does “print >> sys.stderr, …” but there is no import sys.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 56c9a709
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment