Merge pull request #9805 from mscherer/fix_9395

Strip the line to filter lines composed of only whitespaces
This commit is contained in:
Toshio Kuratomi 2014-12-16 12:42:06 -08:00
commit d1e27fe819

View file

@ -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()