From b4079746bfe91e47765eef4944eebac71be4e1be Mon Sep 17 00:00:00 2001 From: "anodelman%mozilla.com" Date: Mon, 7 Jul 2008 23:35:47 +0000 Subject: [PATCH] Bug 416911 - per-test timeout in talos minor cleanup of debug/noisy statements p=anodelman r=rcampbell git-svn-id: svn://10.0.0.236/trunk@252904 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/testing/performance/talos/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/testing/performance/talos/utils.py b/mozilla/testing/performance/talos/utils.py index a6ccb240f93..34ca04c96bf 100755 --- a/mozilla/testing/performance/talos/utils.py +++ b/mozilla/testing/performance/talos/utils.py @@ -55,7 +55,7 @@ def noisy(message): these are ignored. Controlled through command line switch (-n or --noisy) """ if NOISY == 1: - print "NOISE: " + message.strip().replace('\n', '\nNOISE: ') + print "NOISE: " + message.strip().replace('\r', '').replace('\n', '\nNOISE: ') def debug(message): """Prints a debug message to the console if the DEBUG switch is turned on @@ -64,7 +64,7 @@ def debug(message): message: string containing a debugging statement """ if DEBUG == 1: - print "DEBUG: " + message.strip().replace('\n', '\nDEBUG: ') + print "DEBUG: " + message.strip().replace('\r', '').replace('\n', '\nDEBUG: ') def stamped_msg(msg_title, msg_action): """Prints a message to the console with a time stamp