Skip to content

Commit

Permalink
Adjust var name in indexer to appease newest pycodestyle.
Browse files Browse the repository at this point in the history
Re: #647
Closes #646

Co-authored-by: Sawood Alam <ibnesayeed@gmail.com>
  • Loading branch information
machawk1 and ibnesayeed committed May 12, 2020
1 parent f54c3b7 commit 96c30e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipwb/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def indexFileAt(warcPaths, encryptionKey=None,
try:
outputFile = open(outfile, 'a+')
# Read existing non-meta lines (if any) to allow automatic merge
cdxjLines = [l.strip() for l in outputFile if l[:1] != '!']
cdxjLines = [ln.strip() for ln in outputFile if ln[:1] != '!']
except IOError as e:
logError(e)
logError('Writing generated CDXJ to STDOUT instead')
Expand Down

0 comments on commit 96c30e7

Please sign in to comment.