Skip to content

Commit

Permalink
Remove unused 'runner' argument
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLametta committed Jan 18, 2019
1 parent 28831ef commit c8eb145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions whipper/command/cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def do(self):

# first, read the normal TOC, which is fast
logger.info("reading TOC...")
self.ittoc = self.program.getFastToc(self.runner, self.device)
self.ittoc = self.program.getFastToc(self.device)

# already show us some info based on this
self.program.getRipResult(self.ittoc.getCDDBDiscId())
Expand Down Expand Up @@ -144,8 +144,7 @@ def do(self):
self.mbdiscid,
self.program.metadata)
# now, read the complete index table, which is slower
self.itable = self.program.getTable(self.runner,
self.ittoc.getCDDBDiscId(),
self.itable = self.program.getTable(self.ittoc.getCDDBDiscId(),
self.ittoc.getMusicBrainzDiscId(),
self.device, self.options.offset,
out_fpath)
Expand Down
4 changes: 2 additions & 2 deletions whipper/common/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def setWorkingDirectory(workingDirectory):
os.chdir(workingDirectory)

@staticmethod
def getFastToc(runner, device):
def getFastToc(device):
"""Retrieve the normal TOC table from the drive.
Also warn about buggy cdrdao versions.
"""
Expand All @@ -101,7 +101,7 @@ def getFastToc(runner, device):
assert toc.hasTOC()
return toc

def getTable(self, runner, cddbdiscid, mbdiscid, device, offset,
def getTable(self, cddbdiscid, mbdiscid, device, offset,
out_path):
"""
Retrieve the Table either from the cache or the drive.
Expand Down

0 comments on commit c8eb145

Please sign in to comment.