* examples/ARcue.py:

* morituri/common/checksum.py:
	* morituri/image/image.py:
	* morituri/image/toc.py:
	* examples/gtkchecksum.py (added):
	* examples/gtkcrc.py (deleted):
	  More crc->checksum changes.
This commit is contained in:
Thomas Vander Stichele
2009-04-15 13:39:16 +00:00
parent 1dffa8ec42
commit 587f1a45dd
6 changed files with 32 additions and 21 deletions

View File

@@ -117,7 +117,8 @@ def main(argv):
response = r
else:
assert r == response, \
"CRC %s for %d matches wrong response %d, checksum %s" % (
"checksum %s for %d matches wrong response %d, "\
"checksum %s" % (
checksum, i + 1, j + 1, response.checksums[i])
status = 'rip accurate '
archecksum = checksum
@@ -133,8 +134,8 @@ def main(argv):
if confidence < maxConfidence:
c = "(confidence %3d of %3d)" % (confidence, maxConfidence)
ar = " AR [%s]" % response.checksums[i]
print "Track %2d: %s %s mine [%08x] %s" % (
ar = ", AR [%s]" % response.checksums[i]
print "Track %2d: %s %s [%08x]%s" % (
i + 1, status, c, checksum, ar)