From b520d0dd02abf7b69d92cdee55c865e5b1efa366 Mon Sep 17 00:00:00 2001 From: dkhandel Date: Tue, 5 Jun 2018 10:23:29 +0530 Subject: Fix the bug in script Change-Id: Id8c9486c2cd643f486e4ce17824c6bb0962ceed9 --- build-gluster-org/scripts/distributed-regression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-gluster-org/scripts') diff --git a/build-gluster-org/scripts/distributed-regression.py b/build-gluster-org/scripts/distributed-regression.py index 4974574..820c3a0 100644 --- a/build-gluster-org/scripts/distributed-regression.py +++ b/build-gluster-org/scripts/distributed-regression.py @@ -13,8 +13,8 @@ def get_ansible_host_ip(): hostnames = [] for host in inventory.get_hosts(): hostnames.append(variable_manager.get_vars(host=host)) - ip='\t'.join([str(i['ansible_host']) for i in hostnames]) - return ip + ip = ' '.join([str(i['ansible_host']) for i in hostnames]) + return str(ip) def main(): -- cgit