diff mbox

Repair minor exception text formatting in kvm.py.

Message ID 1307963836-13689-1-git-send-email-jzupka@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jiri Zupka June 13, 2011, 11:17 a.m. UTC
Signed-off-by: Ji?í Župka <jzupka@redhat.com>
---
 client/tests/kvm/kvm.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Lucas Meneghel Rodrigues June 14, 2011, 12:31 a.m. UTC | #1
On Mon, 2011-06-13 at 13:17 +0200, Ji?í Župka wrote:
> Signed-off-by: Ji?í Župka <jzupka@redhat.com>

Thank you Jiri, applied!

http://autotest.kernel.org/changeset/5420

> ---
>  client/tests/kvm/kvm.py |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
> index bb17f28..84c361e 100644
> --- a/client/tests/kvm/kvm.py
> +++ b/client/tests/kvm/kvm.py
> @@ -71,7 +71,8 @@ class kvm(test.test):
>                      if subtest_dir is None:
>                          raise error.TestError("Could not find test file %s.py "
>                                                "on either %s or %s directory" %
> -                                              subtest_dir_kvm, subtest_dir_virt)
> +                                              (t_type, subtest_dir_kvm,
> +                                              subtest_dir_virt))
>                      # Load the test module
>                      f, p, d = imp.find_module(t_type, [subtest_dir])
>                      test_module = imp.load_module(t_type, f, p, d)


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
index bb17f28..84c361e 100644
--- a/client/tests/kvm/kvm.py
+++ b/client/tests/kvm/kvm.py
@@ -71,7 +71,8 @@  class kvm(test.test):
                     if subtest_dir is None:
                         raise error.TestError("Could not find test file %s.py "
                                               "on either %s or %s directory" %
-                                              subtest_dir_kvm, subtest_dir_virt)
+                                              (t_type, subtest_dir_kvm,
+                                              subtest_dir_virt))
                     # Load the test module
                     f, p, d = imp.find_module(t_type, [subtest_dir])
                     test_module = imp.load_module(t_type, f, p, d)