Issue #77: fix - trim trailing whitespace from input lines.

This commit is contained in:
Steven Black 2016-03-24 18:27:24 -04:00
parent 97ef0fdded
commit 883faf0f64

View File

@ -315,6 +315,8 @@ def removeDupsAndExcl(mergeFile):
exclusions = settings["exclusions"]
for line in mergeFile.readlines():
write = 'true'
# Trim trailing whitespace
line = line.rstrip()
# Explicit encoding
line = line.decode("UTF-8")
# replace tabs with space