From 4aa0fb04382da328e0415403dabf799c8d59899b Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 17 Nov 2012 19:38:33 +0000 Subject: [PATCH] * morituri/rip/offset.py: Don't let an exception on testing an offset slip pass. Fixes #99. --- ChangeLog | 6 ++++++ morituri/rip/offset.py | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 118727b..81d176d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-17 Thomas Vander Stichele + + * morituri/rip/offset.py: + Don't let an exception on testing an offset slip pass. + Fixes #99. + 2012-11-11 Thomas Vander Stichele * 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)