From 5b965a757bf8be9dc37a85a2cb9dccce2d853127 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 13 Apr 2010 22:10:58 +0000 Subject: [PATCH] * morituri/image/image.py: Remove dead code. --- ChangeLog | 5 +++++ morituri/image/image.py | 28 ---------------------------- 2 files changed, 5 insertions(+), 28 deletions(-) diff --git a/ChangeLog b/ChangeLog index 69f5644..a11d4a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-14 Thomas Vander Stichele + + * morituri/image/image.py: + Remove dead code. + 2010-04-14 Thomas Vander Stichele * morituri/common/encode.py: diff --git a/morituri/image/image.py b/morituri/image/image.py index e209ab7..c42388b 100644 --- a/morituri/image/image.py +++ b/morituri/image/image.py @@ -294,31 +294,3 @@ class ImageEncodeTask(task.MultiSeparateTask): self.debug('encoding track %d', trackIndex + 1) index = track.indexes[1] add(index) - -class ImageRetagTask(task.MultiSeparateTask): - """ - I retag files in a disk image. - """ - - description = "Retagging tracks" - - def __init__(self, image, taglists): - task.MultiSeparateTask.__init__(self) - - # here to avoid import gst eating our options - from morituri.common import encode - - self._image = image - self._taglists = taglists - cue = image.cue - self._tasks = [] - self.lengths = {} - - for trackIndex, track in enumerate(cue.table.tracks): - self.debug('retagging track %d', trackIndex + 1) - index = track.indexes[1] - path = image.getRealPath(index.path) - assert type(path) is unicode, "%r is not unicode" % path - self.debug('schedule retag of %r', path) - root, ext = os.path.splitext(os.path.basename(path)) - taskk = encode.RetagTask(path, taglists[trackIndex])