improve debug

This commit is contained in:
Thomas Vander Stichele
2013-03-05 17:15:54 +01:00
parent 330b2dcb6c
commit 20f6a0b70e

View File

@@ -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(