[SCM] morituri/master: improve debug
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:10:03 UTC 2014
The following commit has been merged in the master branch:
commit 20f6a0b70ee9012ab43469151a6c942de323f7ca
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Tue Mar 5 17:15:54 2013 +0100
improve debug
diff --git a/morituri/program/cdrdao.py b/morituri/program/cdrdao.py
index 15f90bf..669f0d0 100644
--- a/morituri/program/cdrdao.py
+++ b/morituri/program/cdrdao.py
@@ -290,7 +290,7 @@ class DiscInfoTask(CDRDAOTask):
@param device: the device to rip from
@type device: str
"""
- self.debug('creating DiscInfoTask')
+ self.debug('creating DiscInfoTask for device %r', device)
CDRDAOTask.__init__(self)
self.options = ['disk-info', ]
@@ -342,6 +342,8 @@ class ReadSessionTask(CDRDAOTask):
@param device: the device to rip from
@type device: str
"""
+ self.debug('Creating ReadSessionTask for session %d on device %r',
+ session, device)
CDRDAOTask.__init__(self)
self.parser = OutputParser(self)
(fd, self._tocfilepath) = tempfile.mkstemp(
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list