[SCM] morituri/master: * morituri/common/checksum.py: Add some debugging. * morituri/test/test_image_image.py: Run less verbose.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:08:49 UTC 2014
The following commit has been merged in the master branch:
commit 10e5ec0b18c607a1f405015d27553806a56dd119
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sat Apr 25 10:12:34 2009 +0000
* morituri/common/checksum.py:
Add some debugging.
* morituri/test/test_image_image.py:
Run less verbose.
diff --git a/ChangeLog b/ChangeLog
index 07e5ad4..5dc800a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-04-25 Thomas Vander Stichele <thomas at apestaart dot org>
+ * morituri/common/checksum.py:
+ Add some debugging.
+ * morituri/test/test_image_image.py:
+ Run less verbose.
+
+2009-04-25 Thomas Vander Stichele <thomas at apestaart dot org>
+
* morituri/common/task.py:
Allow a SyncRunner to be constructed with verbose too.
Separate a 'running' verbose mode from that.
diff --git a/morituri/common/checksum.py b/morituri/common/checksum.py
index abb3f9d..86a5b66 100644
--- a/morituri/common/checksum.py
+++ b/morituri/common/checksum.py
@@ -181,8 +181,10 @@ class ChecksumTask(task.Task):
raise
else:
self._checksum = self._checksum % 2 ** 32
+ self.debug("last offset", self._last.offset)
last = self._last.offset + len(self._last) / 4 - 1
self.debug("last sample:", last)
+ self.debug("frame end:", self._frameEnd)
self.debug("frame length:", self._frameLength)
self.debug("checksum: %08X" % self._checksum)
self.debug("bytes: %d" % self._bytes)
diff --git a/morituri/test/test_image_image.py b/morituri/test/test_image_image.py
index 71c6a9b..0cfbd17 100644
--- a/morituri/test/test_image_image.py
+++ b/morituri/test/test_image_image.py
@@ -17,7 +17,7 @@ class TrackSingleTestCase(unittest.TestCase):
def setUp(self):
self.image = image.Image(os.path.join(os.path.dirname(__file__),
'track-single.cue'))
- self.runner = task.SyncRunner()
+ self.runner = task.SyncRunner(verbose=False)
self.image.setup(self.runner)
def testAccurateRipChecksum(self):
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list