[libvirt] [test-API][PATCH] Fix a typo xml_file_path
Guannan Ren
gren at redhat.com
Tue Nov 6 03:23:00 UTC 2012
On 11/06/2012 11:21 AM, hongming wrote:
> Change the undefined variable "xml_file_path" to "file_path"
> ---
> src/testcasexml.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/testcasexml.py b/src/testcasexml.py
> index 8485d3d..4cbdc03 100644
> --- a/src/testcasexml.py
> +++ b/src/testcasexml.py
> @@ -31,7 +31,7 @@ def xml_file_to_str(proxy_obj, mod_case, case_params):
> text = fh.read()
> fh.close()
> else:
> - raise exception.FileDoesNotExist("xml file %s doesn't exist" % xml_file_path)
> + raise exception.FileDoesNotExist("xml file %s doesn't exist" % file_path)
>
> # replace the params that in testcase.conf first
> for (key, value) in case_params.items():
ACK.
Thanks for this patch.
Guannan
More information about the libvir-list
mailing list