[pypy-commit] pypy default: Don't crash, but just print the error message as a warning.

arigo noreply at buildbot.pypy.org
Sat Sep 17 19:35:06 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r47320:6b92b3aa1cbb
Date: 2011-09-17 19:34 +0200
http://bitbucket.org/pypy/pypy/changeset/6b92b3aa1cbb/

Log:	Don't crash, but just print the error message as a warning.

diff --git a/pypy/tool/logparser.py b/pypy/tool/logparser.py
--- a/pypy/tool/logparser.py
+++ b/pypy/tool/logparser.py
@@ -75,9 +75,9 @@
     if verbose:
         sys.stderr.write('loaded\n')
     if performance_log and time_decrase:
-        raise Exception("The time decreases!  The log file may have been"
-                        " produced on a multi-CPU machine and the process"
-                        " moved between CPUs.")
+        print ("The time decreases!  The log file may have been"
+               " produced on a multi-CPU machine and the process"
+               " moved between CPUs.")
     return log
 
 def extract_category(log, catprefix='', toplevel=False):


More information about the pypy-commit mailing list