import ovs.daemon
import ovs.util
-def handler(signum, frame):
+
+def handler(signum, _):
raise Exception("Signal handler called with %d" % signum)
+
def main(argv):
logging.basicConfig(level=logging.DEBUG)
while True:
time.sleep(1)
+
def usage():
sys.stdout.write("""\
%s: Open vSwitch daemonization test program for Python