X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fscripts%2Ftopo_reservation.py;h=e0f39c76e926149de346bd2b540b87ecffa9959e;hp=73f6d0e81516197535585d2c2c3c26b7ee1f3859;hb=b55e324d526e5b05baef015c3614b9743c955992;hpb=5147d3ac0844b31852a3c221759f31915744b1c7 diff --git a/resources/tools/scripts/topo_reservation.py b/resources/tools/scripts/topo_reservation.py index 73f6d0e815..e0f39c76e9 100755 --- a/resources/tools/scripts/topo_reservation.py +++ b/resources/tools/scripts/topo_reservation.py @@ -84,7 +84,7 @@ def main(): ) args = parser.parse_args() - with open(args.topo, "r") as topo_file: + with open(args.topo, u"rt") as topo_file: topology = yaml.safe_load(topo_file.read())[u"nodes"] # Even if TG is not guaranteed to be a Linux host,