Raising a VMStartError with positional parameters causes it to throw a "VMError doesn't take any keyword arguments" exception.
Signed-off-by: Chris Evich <[email protected]> --- client/virt/virt_vm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/virt/virt_vm.py b/client/virt/virt_vm.py index fccb8b1..dd446b4 100644 --- a/client/virt/virt_vm.py +++ b/client/virt/virt_vm.py @@ -21,7 +21,7 @@ class VMCreateError(VMError): class VMStartError(VMError): def __init__(self, name, reason): - VMError.__init__(self, name, reason=None) + VMError.__init__(self, name, reason) self.name = name self.reason = reason -- 1.7.1 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
