[SCM] morituri/master: return if we have an exception

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


The following commit has been merged in the master branch:
commit 884c047713e00725a2175ba7a9f015f5fb58de2b
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Fri Jan 18 19:24:42 2013 +0100

    return if we have an exception

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)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list