Skip to content
Snippets Groups Projects
Commit c124045f authored by Iustin Pop's avatar Iustin Pop
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment