From 5f913994190d6ff9c012f55b2e0247497d1c84e1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 Jul 2007 17:16:24 +0100 Subject: [PATCH] print-execute-command works now --- debian/changelog | 3 +-- virt-subproc/VirtSubproc.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 21d1a07..2cf9dee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,7 @@ autopkgtest (0.9.0~iwj) unstable; urgency=low * WIP userv service. - * WIP print-execute-command command for virtualisation servers. - * Fix syntax errors introduced by print-execute-command etc. + * New print-execute-command command for virtualisation servers. * Do not demand vg or distro information for initscript to work. * autopkgtest-xenlvm now Recommends: lvm2 and debootstrap. * pass count= to dd for erasure when lvm_erasebase=true. diff --git a/virt-subproc/VirtSubproc.py b/virt-subproc/VirtSubproc.py index b53c381..bbe0521 100644 --- a/virt-subproc/VirtSubproc.py +++ b/virt-subproc/VirtSubproc.py @@ -84,8 +84,8 @@ def cmd_print_execute_command(c, ce): (cl,kvl) = caller.hook_callerexeccmd() else: cl = down - kvl = ['auxverb'] - return ','.join(map(urllib.quote, cl)) + kvl + kvl = ['shstring'] + return [','.join(map(urllib.quote, cl))] + kvl def preexecfn(): caller.hook_forked_inchild() -- 2.30.2