Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r63403:7723f9d7e5a9
Date: 2013-04-16 12:21 +0200
http://bitbucket.org/pypy/pypy/changeset/7723f9d7e5a9/

Log:    print line for errors

diff --git a/rpython/tool/logparser.py b/rpython/tool/logparser.py
--- a/rpython/tool/logparser.py
+++ b/rpython/tool/logparser.py
@@ -70,7 +70,11 @@
         time = int(int(match.group(1), 16))
         time_decrase = time_decrase or time < lasttime
         lasttime = time
-        record(match.group(2), time=int(match.group(1), 16))
+        try:
+            record(match.group(2), time=int(match.group(1), 16))
+        except:
+            print "Line", i
+            raise
     if verbose:
         sys.stderr.write('loaded\n')
     if performance_log and time_decrase:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to