Strip the line to filter lines composed of only whitespaces

Fix #9395
pull/9805/head
Michael Scherer 10 years ago
parent 12968acd5f
commit b84fba4439

@ -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…
Cancel
Save