Merge pull request #9805 from mscherer/fix_9395
Strip the line to filter lines composed of only whitespaces
This commit is contained in:
commit
d1e27fe819
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ class Connection(object):
|
||||||
host_fh.close()
|
host_fh.close()
|
||||||
|
|
||||||
for line in data.split("\n"):
|
for line in data.split("\n"):
|
||||||
|
line = line.strip()
|
||||||
if line is None or " " not in line:
|
if line is None or " " not in line:
|
||||||
continue
|
continue
|
||||||
tokens = line.split()
|
tokens = line.split()
|
||||||
|
|
Loading…
Reference in a new issue