From e95d7a159bbec8cce11296a3749ac784141d40f9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 13 Aug 2011 16:42:52 +0000 Subject: [PATCH] * morituri/rip/cd.py: Make sure we definitely fail on failed checksum. --- ChangeLog | 5 +++++ morituri/rip/cd.py | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3f3f4f7..c091830 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-08-13 Thomas Vander Stichele + + * morituri/rip/cd.py: + Make sure we definitely fail on failed checksum. + 2011-08-13 Thomas Vander Stichele * doc/release: diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 76ea34a..e52ea5c 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -234,6 +234,8 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1 else: print 'ERROR: checksums did not match for track %d' % ( number) + return + print 'Peak level: %.2f %%' % (math.sqrt(trackResult.peak) * 100.0, ) print 'Rip quality: %.2f %%' % (trackResult.quality * 100.0, )