[PATCH] Repair minor exception text formatting in kvm.py.

2011-06-13 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com
---
 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)
-- 
1.7.4.4

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


Re: [PATCH] Repair minor exception text formatting in kvm.py.

2011-06-13 Thread Lucas Meneghel Rodrigues
On Mon, 2011-06-13 at 13:17 +0200, Jiří Župka wrote:
 Signed-off-by: Jiří Župka jzu...@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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html