[SCM] morituri/master: * morituri/common/encode.py: Fix wrong code for checksum comparison.

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 cee915fbd2a0663206526f35ae544d0aab1ef6ac
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Tue Apr 13 22:10:06 2010 +0000

    	* morituri/common/encode.py:
    	  Fix wrong code for checksum comparison.

diff --git a/ChangeLog b/ChangeLog
index 850487d..69f5644 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/common/encode.py:
+	  Fix wrong code for checksum comparison.
+
+2010-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/common/program.py:
 	  Rename some vars to start with mbid.  Fix pychecker issues.
 
diff --git a/morituri/common/encode.py b/morituri/common/encode.py
index 09e3a4a..7ec53f2 100644
--- a/morituri/common/encode.py
+++ b/morituri/common/encode.py
@@ -485,7 +485,7 @@ class SafeRetagTask(task.MultiSeparateTask):
                     c1 = self.tasks[1].checksum
                     c2 = self.tasks[3].checksum
                     self.debug('comparing checksums %08x and %08x' % (c1, c2))
-                    if False: #c1 == c2:
+                    if c1 == c2:
                         # data is fine, so we can now move
                         self.debug('moving temporary file to %r' % self._path)
                         os.rename(self._tmppath, self._path)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list