X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fplanetlab%2Fupdate_fedora_repo.py;fp=examples%2Fplanetlab%2Fupdate_fedora_repo.py;h=f4929fbc0b592ee35e250e903667d8e3917718ab;hb=b4af9a40867beff8660612fe20d3838cb375f159;hp=6bd99863384b16bef514e64279a59bb223c43a8e;hpb=b3292d8429f07d0e9d21a3ec2d81dbc4b18332d1;p=nepi.git diff --git a/examples/planetlab/update_fedora_repo.py b/examples/planetlab/update_fedora_repo.py index 6bd99863..f4929fbc 100644 --- a/examples/planetlab/update_fedora_repo.py +++ b/examples/planetlab/update_fedora_repo.py @@ -67,7 +67,7 @@ pl_user = options.pl_user pl_password = options.pl_password hosts = options.hosts -hosts = list(map(str.strip, hosts.split(","))) +hosts = [host.strip() for host in hosts.split(",")] apps = [] ## Create the experiment controller