[SCM] morituri/master: * morituri/image/image.py: Remove dead code.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:18 UTC 2014


The following commit has been merged in the master branch:
commit 5b965a757bf8be9dc37a85a2cb9dccce2d853127
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Tue Apr 13 22:10:58 2010 +0000

    	* morituri/image/image.py:
    	  Remove dead code.

diff --git a/ChangeLog b/ChangeLog
index 69f5644..a11d4a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/image/image.py:
+	  Remove dead code.
+
+2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/common/encode.py:
 	  Fix wrong code for checksum comparison.
 
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])

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list