Commit ad823766 by Michael Scherer Committed by James Cammarata

Strip the line to filter lines composed of only whitespaces

Fix #9395
parent 4fa5db9a
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment