diff mbox

[AUTOTEST,1/2] KVM-test: Fix a bug that about list slice in scan_results.py

Message ID 1262166445-7759-1-git-send-email-yzhou@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yolkfull Chow Dec. 30, 2009, 9:47 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py
index f7bafa9..1daff2f 100755
--- a/client/tests/kvm/scan_results.py
+++ b/client/tests/kvm/scan_results.py
@@ -45,6 +45,7 @@  def parse_results(text):
         # Found a FAIL/ERROR/GOOD line -- get failure/success info
         elif (len(parts) >= 6 and parts[3].startswith("timestamp") and
               parts[4].startswith("localtime")):
+            info_list.append("")
             info_list[-1] = parts[5]
 
     return result_list