X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fscripts%2Ftopo_reservation.py;h=e0f39c76e926149de346bd2b540b87ecffa9959e;hb=refs%2Fchanges%2F33%2F23033%2F34;hp=73f6d0e81516197535585d2c2c3c26b7ee1f3859;hpb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;p=csit.git 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,