Rename 'throwaway' variables to single underscore

Also removed unused ones
This commit is contained in:
JoeLametta
2019-01-17 09:57:12 +00:00
parent 16b0d8dc29
commit e7bfc34c0e
14 changed files with 14 additions and 18 deletions

View File

@@ -192,7 +192,7 @@ class ImageEncodeTask(task.MultiSeparateTask):
path = image.getRealPath(index.path)
assert isinstance(path, unicode), "%r is not unicode" % path
logger.debug('schedule encode of %r', path)
root, ext = os.path.splitext(os.path.basename(path))
root, _ = os.path.splitext(os.path.basename(path))
outpath = os.path.join(outdir, root + '.' + 'flac')
logger.debug('schedule encode to %r', outpath)
taskk = encode.FlacEncodeTask(