X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f5792a3bf76ce15a573ae5e9c63097595ae5f2bd..b8df87e176f27b25534f27d7e240defa32ca35bc:/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: