[SCM] morituri/master: * morituri/image/cue.py: Better debug.

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


The following commit has been merged in the master branch:
commit 7beb4e5041a74d42884d835108ae732adae85e15
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Mon Jun 15 07:06:21 2009 +0000

    	* morituri/image/cue.py:
    	  Better debug.

diff --git a/ChangeLog b/ChangeLog
index 38a8eaa..bafe25e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-15  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* morituri/image/cue.py:
+	  Better debug.
+
 2009-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
 
 	* morituri/common/program.py:
diff --git a/morituri/image/cue.py b/morituri/image/cue.py
index f34f1fa..fb4078a 100644
--- a/morituri/image/cue.py
+++ b/morituri/image/cue.py
@@ -130,11 +130,12 @@ class CueFile(object, log.Loggable):
                 minutes = int(m.expand('\\2'))
                 seconds = int(m.expand('\\3'))
                 frames = int(m.expand('\\4'))
-                self.debug('found index %d', indexNumber)
-
                 frameOffset = frames \
                     + seconds * common.FRAMES_PER_SECOND \
                     + minutes * common.FRAMES_PER_SECOND * 60
+
+                self.debug('found index %d of track %r in %s:%d',
+                    indexNumber, currentTrack, currentFile.path, frameOffset)
                 # FIXME: what do we do about File's FORMAT ?
                 currentTrack.index(indexNumber,
                     path=currentFile.path, relative=frameOffset,

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list