* examples/movecue.py:

* examples/readcue.py:
	* morituri/image/cue.py:
	* morituri/image/image.py:
	* morituri/image/toc.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_toc.py:
	  Cue -> CueFile
	  TOC -> TocFile
This commit is contained in:
Thomas Vander Stichele
2009-05-04 16:01:19 +00:00
parent 2dbd307096
commit c17a28d7ae
9 changed files with 25 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ _INDEX_RE = re.compile(r"""
""", re.VERBOSE)
class Cue(object, log.Loggable):
class CueFile(object, log.Loggable):
def __init__(self, path):
self._path = path
self._rems = {}

View File

@@ -45,7 +45,7 @@ class Image(object, log.Loggable):
@param path: .cue path
"""
self._path = path
self.cue = cue.Cue(path)
self.cue = cue.CueFile(path)
self.cue.parse()
self._offsets = [] # 0 .. trackCount - 1
self._lengths = [] # 0 .. trackCount - 1

View File

@@ -64,7 +64,7 @@ _INDEX_RE = re.compile(r"""
\s(?P<offset>.+)$ # start offset
""", re.VERBOSE)
class TOC:
class TocFile(object):
def __init__(self, path):
self._path = path
self._messages = []