test-network: use splitlines() at one more place

This commit is contained in:
Yu Watanabe 2019-05-20 09:40:30 +09:00
parent b2774a3ae6
commit 881b1f358f

View file

@ -186,7 +186,7 @@ class Utilities():
contents = in_file.read()
if show_all:
print(contents)
for line in contents.split('\n'):
for line in contents.splitlines():
if words in line:
in_file.close()
print("%s, %s" % (words, line))