diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-03-12 20:28:17 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-03-12 20:59:46 +0000 |
commit | bbddf9d0a32e60717871dfe665cc4d443117dcfe (patch) | |
tree | 2ac1823c05225a2ee561b1fe0a3917dbe852b079 /scripts/check-qemu-install | |
parent | ed79a9fa939fdba80eb004a79989153d51eeea88 (diff) | |
download | vyos-build-bbddf9d0a32e60717871dfe665cc4d443117dcfe.tar.gz vyos-build-bbddf9d0a32e60717871dfe665cc4d443117dcfe.zip |
docker, build: T6119: use python3-tomli instead of python3-toml
for a compliant implementation ot TOML
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-x | scripts/check-qemu-install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index b77e5023..41c566e6 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -42,7 +42,7 @@ import random import traceback import logging import re -import toml +import tomli from io import BytesIO from io import StringIO @@ -82,8 +82,8 @@ parser.add_argument('--qemu-cmd', help='Only generate QEMU launch command', args = parser.parse_args() -with open('data/defaults.toml') as f: - vyos_defaults = toml.load(f) +with open('data/defaults.toml', 'rb') as f: + vyos_defaults = tomli.load(f) class StreamToLogger(object): """ |