Index: client/tests/kvm/tests/unittest_kvmctl.py |
diff --git a/client/tests/kvm/tests/unittest_kvmctl.py b/client/tests/kvm/tests/unittest_kvmctl.py |
index 4afd86282eee64a61fc1b50ef52cf1362ca09d26..dd72cb254cfac5bd6f7e366a84faaa14c6e05178 100644 |
--- a/client/tests/kvm/tests/unittest_kvmctl.py |
+++ b/client/tests/kvm/tests/unittest_kvmctl.py |
@@ -21,7 +21,7 @@ def run_unittest_kvmctl(test, params, env): |
cmd = "./kvmctl test/x86/bootstrap test/x86/%s.flat" % case |
try: |
results = utils.system_output(cmd) |
- except error.CmdError, e: |
+ except error.CmdError: |
raise error.TestFail("Unit test %s failed" % case) |
result_file = os.path.join(test.resultsdir, case) |