[SCM] morituri/master: give a logname
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 cd90c361a6c7634ae0197906211e1e49fc8e97de
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sun Nov 18 13:08:31 2012 +0000
give a logname
diff --git a/morituri/common/checksum.py b/morituri/common/checksum.py
index a07c4be..542e795 100644
--- a/morituri/common/checksum.py
+++ b/morituri/common/checksum.py
@@ -60,6 +60,8 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask):
"""
assert type(path) is unicode, "%r is not unicode" % path
+ self.logName = "ChecksumTask 0x%x" % id(self)
+
# use repr/%r because path can be unicode
self.debug('Creating checksum task on %r from %d to %d',
path, frameStart, frameLength)
@@ -147,9 +149,8 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask):
def stopped(self):
self.debug('stopped')
if not self._last:
- self.debug('raising EmptyError')
# see http://bugzilla.gnome.org/show_bug.cgi?id=578612
- self.debug('not a single buffer gotten, raising')
+ self.debug('not a single buffer gotten, setting exception EmptyError')
self.setException(common.EmptyError('not a single buffer gotten'))
else:
self._checksum = self._checksum % 2 ** 32
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list