From: Ian Jackson Date: Mon, 25 Jul 2011 10:27:42 +0000 (+0100) Subject: virt-subproc: do not insist that down is set before hook_open returns X-Git-Tag: debian/2.0.0~41 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9b92a3fddd422d6dec3f0c0dd94cc84262e0bb2a;p=autopkgtest.git virt-subproc: do not insist that down is set before hook_open returns --- 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()