Author: David Schneider <[email protected]>
Branch: extradoc
Changeset: r4341:a1a51fd0877c
Date: 2012-07-23 17:35 +0200
http://bitbucket.org/pypy/extradoc/changeset/a1a51fd0877c/

Log:    escape _ in benchmarks names

diff --git a/talk/vmil2012/tool/build_tables.py 
b/talk/vmil2012/tool/build_tables.py
--- a/talk/vmil2012/tool/build_tables.py
+++ b/talk/vmil2012/tool/build_tables.py
@@ -27,7 +27,7 @@
         ops_bo = sum(int(bench['%s before' % s]) for s in keys)
         ops_ao = sum(int(bench['%s after' % s]) for s in keys)
         res = [
-                bench['bench'],
+                bench['bench'].replace('_', '\\_'),
                 ops_bo,
                 "%.2f (%s)" % (int(bench['guard before']) / ops_bo * 100, 
bench['guard before']),
                 ops_ao,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to