All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues <lmr@redhat.com>
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	[thread overview]
Message-ID: <1244823190-9299-1-git-send-email-lmr@redhat.com> (raw)

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 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...")
-- 
1.6.2.2


             reply	other threads:[~2009-06-12 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 16:13 Lucas Meneghel Rodrigues [this message]
2009-06-12 16:13 ` [KVM-AUTOTEST PATCH 2/4] kvm test config sample: change control file names for the autotest tests Lucas Meneghel Rodrigues
2009-06-12 16:13   ` [KVM-AUTOTEST PATCH 3/4] kvm_tests: Use autotest log files to scan results Lucas Meneghel Rodrigues
2009-06-12 16:13     ` [KVM-AUTOTEST PATCH 4/4] Adding control files dir to kvm test Lucas Meneghel Rodrigues
2009-06-12 16:18       ` [Autotest] " Martin Bligh
2009-06-12 16:35         ` Lucas Meneghel Rodrigues
2009-06-13  9:00 ` [Autotest] [KVM-AUTOTEST PATCH 1/4] kvm test: Fix more incorrect long line breaks lying around Michael Goldish
2009-06-15 20:51   ` Lucas Meneghel Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244823190-9299-1-git-send-email-lmr@redhat.com \
    --to=lmr@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.