[SCM] morituri/master: tell us when we're wrong
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:08:59 UTC 2014
The following commit has been merged in the master branch:
commit a5735b277b83d75e4ebb37fbbfeb76dddeccb6f3
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri May 15 21:02:19 2009 +0000
tell us when we're wrong
diff --git a/examples/readdisc.py b/examples/readdisc.py
index ffd3ca6..058965e 100644
--- a/examples/readdisc.py
+++ b/examples/readdisc.py
@@ -261,6 +261,10 @@ def main(argv):
start, stop - 1,
offset=int(options.offset))
function(runner, t)
+ if t.checksum:
+ print 'Checksums match for track %d' % 0
+ else:
+ print 'ERROR: checksums did not match for track %d' % 0
# overlay this rip onto the IndexTable
itable.setFile(1, 0, path, stop - start, 0)
@@ -282,6 +286,8 @@ def main(argv):
function(runner, t)
if t.checksum:
print 'Checksums match for track %d' % (i + 1)
+ else:
+ print 'ERROR: checksums did not match for track %d' % (i + 1)
# overlay this rip onto the IndexTable
itable.setFile(i + 1, 1, path, ittoc.getTrackLength(i + 1), i + 1)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list