From 9b92a3fddd422d6dec3f0c0dd94cc84262e0bb2a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Jul 2011 11:27:42 +0100 Subject: [PATCH] virt-subproc: do not insist that down is set before hook_open returns --- virt-subproc/VirtSubproc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt-subproc/VirtSubproc.py b/virt-subproc/VirtSubproc.py index 09d5225..5cdf46e 100644 --- a/virt-subproc/VirtSubproc.py +++ b/virt-subproc/VirtSubproc.py @@ -128,6 +128,7 @@ def cmd_open(c, ce): cmdnumargs(c, ce) if downtmp: bomb("`open' when already open") downtmp = caller.hook_open() + debug("down = %s, downtmp = %s" % (string.join(down), downtmp)) return [downtmp] def cmd_revert(c, ce): @@ -393,7 +394,6 @@ def mainloop(): def main(): signal.signal(signal.SIGALRM, alarm_handler) - debug("down = %s" % string.join(down)) ok() prepare() mainloop() -- 2.30.2