Strip the line to filter lines composed of only whitespaces

Fix #9395
release1.8.3
Michael Scherer 10 years ago committed by James Cammarata
parent 4fa5db9a03
commit ad823766d2

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