return cdrdao version used

This commit is contained in:
Velo Superman
2013-03-03 17:55:10 +01:00
parent a2afe79644
commit 7e3d7f0ab7
2 changed files with 4 additions and 5 deletions

View File

@@ -101,8 +101,9 @@ class Program(log.Loggable):
def getFastToc(self, runner, toc_pickle, device):
"""
Retrieve the normal TOC table from a toc pickle or the drive.
Also retrieves the cdrdao version
@rtype: L{table.Table}
@rtype: tuple of L{table.Table}, str
"""
def function(r, t):
r.run(t)
@@ -132,7 +133,7 @@ class Program(log.Loggable):
ptoc.persist(t.table)
toc = ptoc.object
assert toc.hasTOC()
return toc
return (toc, version)
def getTable(self, runner, cddbdiscid, mbdiscid, device):
"""