diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-20 09:40:30 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-22 17:58:46 +0900 |
commit | 881b1f358f3750b6fed66f606ad410d09af0ac23 (patch) | |
tree | 27ddd17dbd27f099edad6534d5a01c6a60ec8728 /test | |
parent | b2774a3ae692113e1f47a336a6c09bac9cfb49ad (diff) | |
download | systemd-881b1f358f3750b6fed66f606ad410d09af0ac23.tar.gz |
test-network: use splitlines() at one more place
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 224726f911..0a3ac1e56e 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -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)) |