line_no = 0
for line in content.splitlines():
line_no += 1
if not line.rstrip():
continue
tup = line.strip().split(" ")
if tup[1].isdigit():
After Change
line = line.strip()
if not line:
continue
tup = line.split(" ")
add_word(*tup)
except Exception as e:
logger.debug("%s at line %s %s" % (f_name, lineno, line))
raise e