Index: client/tests/kvm/scan_results.py |
diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py |
index a339a8577c74a153d91937afdc5d4a8ab6931e2b..be825f6adb5dd38b9d96f64917da588d6e478301 100755 |
--- a/client/tests/kvm/scan_results.py |
+++ b/client/tests/kvm/scan_results.py |
@@ -38,7 +38,7 @@ def parse_results(text): |
test_status = parts[0].split()[1] |
# Remove "kvm." prefix |
if test_name.startswith("kvm."): |
- test_name = test_name.split("kvm.")[1] |
+ test_name = test_name[4:] |
result_list.append((test_name, test_status, |
int(end_time - start_time), info)) |
@@ -86,7 +86,7 @@ def main(resfiles): |
if __name__ == "__main__": |
- import sys, os, glob |
+ import sys, glob |
resfiles = glob.glob("../../results/default/status*") |
if len(sys.argv) > 1: |