From 884c047713e00725a2175ba7a9f015f5fb58de2b Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 18 Jan 2013 19:24:42 +0100 Subject: [PATCH] return if we have an exception --- morituri/common/checksum.py | 1 + 1 file changed, 1 insertion(+) diff --git a/morituri/common/checksum.py b/morituri/common/checksum.py index 42500dd..37c82f8 100644 --- a/morituri/common/checksum.py +++ b/morituri/common/checksum.py @@ -153,6 +153,7 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask): self.debug( 'not a single buffer gotten, setting exception EmptyError') self.setException(common.EmptyError('not a single buffer gotten')) + return else: self._checksum = self._checksum % 2 ** 32 self.debug("last offset %r", self._last.offset)