[SCM] morituri/master: * morituri/rip/cd.py: Make sure we definitely fail on failed checksum.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:33 UTC 2014


The following commit has been merged in the master branch:
commit e95d7a159bbec8cce11296a3749ac784141d40f9
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Aug 13 16:42:52 2011 +0000

    	* morituri/rip/cd.py:
    	  Make sure we definitely fail on failed checksum.

diff --git a/ChangeLog b/ChangeLog
index 3f3f4f7..c091830 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-08-13  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/rip/cd.py:
+	  Make sure we definitely fail on failed checksum.
+
+2011-08-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* doc/release:
 	  Add note on actually running.
 	* morituri/common/program.py:
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, )
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list