From patchwork Fri Jun 12 16:13:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 29884 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5CGDHvk018693 for ; Fri, 12 Jun 2009 16:13:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754721AbZFLQNM (ORCPT ); Fri, 12 Jun 2009 12:13:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754532AbZFLQNM (ORCPT ); Fri, 12 Jun 2009 12:13:12 -0400 Received: from mx2.redhat.com ([66.187.237.31]:52846 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754021AbZFLQNL (ORCPT ); Fri, 12 Jun 2009 12:13:11 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5CGDD6s006548; Fri, 12 Jun 2009 12:13:13 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5CGDCa7031836; Fri, 12 Jun 2009 12:13:12 -0400 Received: from localhost.localdomain (vpn-10-74.bos.redhat.com [10.16.10.74]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5CGDAZS002152; Fri, 12 Jun 2009 12:13:11 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [KVM-AUTOTEST PATCH 1/4] kvm test: Fix more incorrect long line breaks lying around. Date: Fri, 12 Jun 2009 13:13:07 -0300 Message-Id: <1244823190-9299-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/kvm_config.py | 14 +++++++------- client/tests/kvm/kvm_tests.py | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py index 95eefcb..343c67d 100755 --- a/client/tests/kvm/kvm_config.py +++ b/client/tests/kvm/kvm_config.py @@ -302,9 +302,9 @@ class config: # Found an operator? if op_found: if self.debug and not restricted: - self.__debug_print(indented_line, - "Parsing operator (%d dicts in current " - "context)" % len_list) + self.__debug_print(indented_line, ("Parsing operator " + "(%d dicts in current " + "context)" % len_list)) (left, value) = self.split_and_strip(line, op_found) filters_and_key = self.split_and_strip(left, ":") filters = filters_and_key[:-1] @@ -349,10 +349,10 @@ class config: break list = filtered_list if self.debug and not restricted: - self.__debug_print(indented_line, - "Parsing no/only (%d dicts in current " - "context, %d remain)" % - (len_list, len(list))) + self.__debug_print(indented_line, ("Parsing no/only " + "(%d dicts in current " + "context, %d remain)" % + (len_list, len(list)))) # Parse 'variants' elif line == "variants:": diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py index 54d2a7a..4b87a76 100644 --- a/client/tests/kvm/kvm_tests.py +++ b/client/tests/kvm/kvm_tests.py @@ -327,16 +327,16 @@ def run_autotest(test, params, env): logging.info(str(result)) if result[1] == "FAIL": status_fail = True - message_fail = "Test '%s' ended with FAIL" - " (info: '%s')" % (result[0], result[3]) + message_fail = ("Test '%s' ended with FAIL " + "(info: '%s')" % (result[0], result[3])) if result[1] == "ERROR": status_error = True - message_error = "Test '%s' ended with ERROR" - " (info: '%s')" % (result[0], result[3]) + message_error = ("Test '%s' ended with ERROR " + "(info: '%s')" % (result[0], result[3])) if result[1] == "ABORT": status_error = True - message_error = "Test '%s' ended with ABORT" - " (info: '%s')" % (result[0], result[3]) + message_error = ("Test '%s' ended with ABORT " + "(info: '%s')" % (result[0], result[3])) # Copy test results to the local bindir/guest_results logging.info("Copying results back from guest...")