[SCM] morituri/master: debug better
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 20cb0b3180626cea781110057483542b185c42ad
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri Jan 18 19:24:09 2013 +0100
debug better
diff --git a/morituri/common/checksum.py b/morituri/common/checksum.py
index 9a943e1..42500dd 100644
--- a/morituri/common/checksum.py
+++ b/morituri/common/checksum.py
@@ -63,7 +63,7 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask):
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',
+ self.debug('Creating checksum task on %r from frame %d to frame %d',
path, frameStart, frameLength)
if not os.path.exists(path):
raise IndexError('%r does not exist' % path)
diff --git a/morituri/image/image.py b/morituri/image/image.py
index 788b888..25cdb47 100644
--- a/morituri/image/image.py
+++ b/morituri/image/image.py
@@ -120,7 +120,8 @@ class AccurateRipChecksumTask(log.Loggable, task.MultiSeparateTask):
for trackIndex, track in enumerate(cue.table.tracks):
index = track.indexes[1]
length = cue.getTrackLength(track)
- self.debug('track %d has length %d' % (trackIndex + 1, length))
+ self.debug('track %d is %d frames long' % (
+ trackIndex + 1, length))
path = image.getRealPath(index.path)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list