On 12/19/2011 04:28 PM, Chris Evich wrote:
> Raising a VMStartError with positional parameters causes it to throw a
> "VMError doesn't take any keyword arguments" exception.

Ok, applied, thanks!

> 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
>

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to