diff --git a/ChangeLog b/ChangeLog index 850487d..69f5644 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-14 Thomas Vander Stichele + + * morituri/common/encode.py: + Fix wrong code for checksum comparison. + 2010-04-14 Thomas Vander Stichele * morituri/common/program.py: 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)