Strip the line to filter lines composed of only whitespaces

Fix #9395
This commit is contained in:
Michael Scherer 2014-12-13 20:56:06 +01:00
parent 12968acd5f
commit b84fba4439

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