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()
|
||||
|
||||
for line in data.split("\n"):
|
||||
line = line.strip()
|
||||
if line is None or " " not in line:
|
||||
continue
|
||||
tokens = line.split()
|
||||
|
|
Loading…
Reference in a new issue