* morituri/image/cue.py:

* morituri/image/image.py:
	* morituri/image/table.py:
	* morituri/image/toc.py:
	* morituri/program/cdparanoia.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_table.py:
	  Rename IndexTable to Table.
This commit is contained in:
Thomas Vander Stichele
2009-05-16 09:31:38 +00:00
parent 09fe46ee99
commit 0a56fc129e
9 changed files with 29 additions and 17 deletions

View File

@@ -89,7 +89,7 @@ class ReadTrackTask(task.Task):
@param path: where to store the ripped track
@type path: str
@param table: table of contents of CD
@type table: L{table.IndexTable}
@type table: L{table.Table}
@param start: first frame to rip
@type start: int
@param stop: last frame to rip (inclusive)

View File

@@ -78,7 +78,7 @@ class OutputParser(object, log.Loggable):
self._track = None # which track are we analyzing?
self._task = taskk
self.table = table.IndexTable() # the index table for the TOC
self.table = table.Table() # the index table for the TOC
def read(self, bytes):
self.log('received %d bytes in state %s', len(bytes), self._state)
@@ -251,12 +251,12 @@ class CDRDAOTask(task.Task):
raise NotImplentedError
class ReadIndexTableTask(CDRDAOTask):
class ReadTableTask(CDRDAOTask):
"""
I am a task that reads all indexes of a CD.
@ivar table: the index table
@type table: L{table.IndexTable}
@type table: L{table.Table}
"""
description = "Scanning indexes..."
@@ -275,7 +275,7 @@ class ReadIndexTableTask(CDRDAOTask):
self.parser.read(bytes)
def done(self):
# FIXME: instead of reading only a TOC, output a complete IndexTable
# FIXME: instead of reading only a TOC, output a complete Table
# by merging the TOC info.
self._tocfile = toc.TocFile(self._tocfilepath)
self._tocfile.parse()
@@ -304,7 +304,7 @@ class ReadTOCTask(CDRDAOTask):
I am a task that reads the TOC of a CD, without pregaps.
@ivar table: the index table that matches the TOC.
@type table: L{table.IndexTable}
@type table: L{table.Table}
"""
description = "Reading TOC..."