diff --git a/ansible/linkstate/scripts/ptf_proxy.py b/ansible/linkstate/scripts/ptf_proxy.py index 8f33373fb52..ba285d482dd 100644 --- a/ansible/linkstate/scripts/ptf_proxy.py +++ b/ansible/linkstate/scripts/ptf_proxy.py @@ -126,6 +126,7 @@ def parse_veos(vms): all = fp.read() rows = all.split('\n') for r in rows: + r = r.strip() if r == '': continue if not r.startswith('VM'):