X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fad318e69b9130ad51b5bcff09362b1f162f5270..70790490ad6ddbc26225ce84f5c3d17b5efacc20:/teshsuite/msg/app-bittorrent/generate.py diff --git a/teshsuite/msg/app-bittorrent/generate.py b/teshsuite/msg/app-bittorrent/generate.py index f1d2b54e98..fde8f93167 100755 --- a/teshsuite/msg/app-bittorrent/generate.py +++ b/teshsuite/msg/app-bittorrent/generate.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright (c) 2012, 2014, 2016. The SimGrid Team. +# Copyright (c) 2012-2019. The SimGrid Team. # All rights reserved. # This program is free software; you can redistribute it and/or modify it @@ -28,9 +28,9 @@ max_id = 2 ** nb_bits - 1 all_ids = [42] sys.stdout.write("\n" - "\n" + "\n" "\n" - " \n" + " \n" " \n \n" % end_date) for i in range(1, nb_nodes): @@ -40,7 +40,7 @@ for i in range(1, nb_nodes): my_id = random.randint(0, max_id) ok = not my_id in all_ids start_date = i * 10 - line = " \n" % i + line = " \n" % i line += " \n \n" % ( my_id, end_date) if random.randint(0, 100) < seed_percentage: