Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r74377:2da4dcd634f8
Date: 2014-11-07 18:22 +0100
http://bitbucket.org/pypy/pypy/changeset/2da4dcd634f8/
Log: Fix
diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py
--- a/pypy/stm/print_stm_log.py
+++ b/pypy/stm/print_stm_log.py
@@ -66,7 +66,7 @@
sec, nsec, threadnum, otherthreadnum, event, len1, len2 = \
struct.unpack("IIIIBBB", packet)
if event >= _STM_EVENT_N:
- raise ValueError("the file %r appears corrupted")
+ raise ValueError("the file %r appears corrupted" % (filename,))
m1 = f.read(len1)
m2 = f.read(len2)
result.append(LogEntry(sec + 0.000000001 * nsec,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit