From 5cf823a6404be8829373810e7f02d391d52a7299 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 19 Sep 2009 11:58:33 +0000 Subject: [PATCH] * morituri/program/cdparanoia.py: explicitize keyword args. Break some 80+ lines. --- ChangeLog | 6 ++++++ morituri/program/cdparanoia.py | 15 ++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c523e2..1be1d3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-19 Thomas Vander Stichele + + * morituri/program/cdparanoia.py: + explicitize keyword args. + Break some 80+ lines. + 2009-09-19 Thomas Vander Stichele * morituri/rip/offset.py: diff --git a/morituri/program/cdparanoia.py b/morituri/program/cdparanoia.py index 7975309..fcb67d7 100644 --- a/morituri/program/cdparanoia.py +++ b/morituri/program/cdparanoia.py @@ -225,9 +225,12 @@ class ReadTrackTask(task.Task): stopTrack = i + 1 stopOffset = self._stop - self._table.getTrackStart(i + 1) - self.debug('Ripping from %d to %d (inclusive)', self._start, self._stop) - self.debug('Starting at track %d, offset %d', startTrack, startOffset) - self.debug('Stopping at track %d, offset %d', stopTrack, stopOffset) + self.debug('Ripping from %d to %d (inclusive)', + self._start, self._stop) + self.debug('Starting at track %d, offset %d', + startTrack, startOffset) + self.debug('Stopping at track %d, offset %d', + stopTrack, stopOffset) bufsize = 1024 argv = ["cdparanoia", "--stderr-progress", @@ -370,9 +373,11 @@ class ReadVerifyTrackTask(task.MultiSeparateTask): self.tasks = [] self.tasks.append( - ReadTrackTask(tmppath, table, start, stop, offset, device)) + ReadTrackTask(tmppath, table, start, stop, + offset=offset, device=device)) self.tasks.append(checksum.CRC32Task(tmppath)) - t = ReadTrackTask(tmppath, table, start, stop, offset, device) + t = ReadTrackTask(tmppath, table, start, stop, + offset=offset, device=device) t.description = 'Verifying track...' self.tasks.append(t) self.tasks.append(checksum.CRC32Task(tmppath))