Merge pull request #802 from teymour-aldridge/patch-1

Remove redundant assignment.
This commit is contained in:
Veronica Berglyd Olsen
2021-06-09 19:46:48 +02:00
committed by GitHub
-1
View File
@@ -297,7 +297,6 @@ class NWIndex():
nTitle = 0 nTitle = 0
theLines = theText.splitlines() theLines = theText.splitlines()
for aLine in theLines: for aLine in theLines:
aLine = aLine
nLine += 1 nLine += 1
nChar = len(aLine.strip()) nChar = len(aLine.strip())
if nChar == 0: if nChar == 0: