From 96c30e7ba7a152059b76fb266ce6aad5f3219466 Mon Sep 17 00:00:00 2001 From: Mat Kelly Date: Tue, 12 May 2020 11:44:34 -0400 Subject: [PATCH] Adjust var name in indexer to appease newest pycodestyle. Re: #647 Closes #646 Co-authored-by: Sawood Alam --- ipwb/indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipwb/indexer.py b/ipwb/indexer.py index 2e1620e8..8a6332d9 100755 --- a/ipwb/indexer.py +++ b/ipwb/indexer.py @@ -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')