[SCM] morituri/master: * morituri/rip/offset.py: Don't let an exception on testing an offset slip pass. Fixes #99.

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


The following commit has been merged in the master branch:
commit 4aa0fb04382da328e0415403dabf799c8d59899b
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Nov 17 19:38:33 2012 +0000

    	* morituri/rip/offset.py:
    	  Don't let an exception on testing an offset slip pass.
    	  Fixes #99.

diff --git a/ChangeLog b/ChangeLog
index 118727b..81d176d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-17  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* morituri/rip/offset.py:
+	  Don't let an exception on testing an offset slip pass.
+	  Fixes #99.
+
 2012-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
 
 	* morituri/program/cdparanoia.py:
diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py
index fbb10a2..39f55a6 100644
--- a/morituri/rip/offset.py
+++ b/morituri/rip/offset.py
@@ -154,6 +154,11 @@ CD in the AccurateRip database."""
                     self.stdout.write(
                         'WARNING: cannot rip with offset %d...\n' % offset)
                     continue
+                self.warning("Unknown exception for offset %d: %r" % (
+                    offset, e))
+                self.stdout.write(
+                    'WARNING: cannot rip with offset %d...\n' % offset)
+                continue
 
             self.debug('AR checksum calculated: %s' % archecksum)
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list