aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/scripts')
-rwxr-xr-xresources/tools/scripts/topo_reservation.py2
1 files changed, 1 insertions, 1 deletions
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,